summaryrefslogtreecommitdiff
path: root/tests/test_def.c
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2013-12-20 17:40:40 -0800
committerJosh Haberman <jhaberman@gmail.com>2013-12-20 17:40:40 -0800
commitce9bba3cb5409844f8f3d7dcc235a9ea30cad090 (patch)
tree6c4e0a7c023c790a278f3616c749280c8da205af /tests/test_def.c
parentaa8db6ab5ea18848247b8c4ac4715cf344941e94 (diff)
Sync from Google-internal development.
Diffstat (limited to 'tests/test_def.c')
-rw-r--r--tests/test_def.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_def.c b/tests/test_def.c
index 9d3805c..fb33871 100644
--- a/tests/test_def.c
+++ b/tests/test_def.c
@@ -30,10 +30,9 @@ static upb_symtab *load_test_proto(void *owner) {
upb_status status = UPB_STATUS_INIT;
if (!upb_load_descriptor_file_into_symtab(s, descriptor_file, &status)) {
fprintf(stderr, "Error loading descriptor file: %s\n",
- upb_status_getstr(&status));
+ upb_status_errmsg(&status));
ASSERT(false);
}
- upb_status_uninit(&status);
return s;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback