AmendHub

Download:

jcs

/

subtext

/

amendments

/

82

bile: Correct error message

Would be nice if THINK C supported __func__...

jcs made amendment 82 over 2 years ago
--- bile.c Sat Jan 29 14:33:45 2022 +++ bile.c Tue Mar 1 13:59:51 2022 @@ -451,7 +451,7 @@ bile_read_object(struct bile *bile, const struct bile_ return 0; if (rsize != wantlen) { - warn("bile_read: %s:%lu: needed to read %ld, read %ld", + warn("bile_read_object: %s:%lu: needed to read %ld, read %ld", OSTypeToString(o->type), o->id, wantlen, rsize); _bile_error = bile->last_error = BILE_ERR_BOGUS_OBJECT; return 0;