diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2011-08-27 20:36:34 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2011-08-27 20:36:34 -0700 |
commit | 521ac7a89adb97bcd1781b4131333554ccd4de87 (patch) | |
tree | 7638bf1ecc0af6d123efb87c46f88f661130952e /upb/pb/glue.c | |
parent | 48fedab345674000dd2f8dd4d8356ee995d9263e (diff) |
Refined upb_status.
Diffstat (limited to 'upb/pb/glue.c')
-rw-r--r-- | upb/pb/glue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upb/pb/glue.c b/upb/pb/glue.c index e13db3e..8034c54 100644 --- a/upb/pb/glue.c +++ b/upb/pb/glue.c @@ -127,7 +127,7 @@ void upb_read_descriptorfile(upb_symtab *symtab, const char *fname, size_t len; char *data = upb_readfile(fname, &len); if (!data) { - upb_status_setf(status, UPB_ERROR, "Couldn't read file: %s", fname); + upb_status_seterrf(status, "Couldn't read file: %s", fname); return; } upb_read_descriptor(symtab, data, len, status); |