diff options
Diffstat (limited to 'src/reader.c')
-rw-r--r-- | src/reader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reader.c b/src/reader.c index 73ddc95f..7eb2323e 100644 --- a/src/reader.c +++ b/src/reader.c @@ -241,7 +241,7 @@ skip_bom(SerdReader* const me) serd_byte_source_advance(&me->source) || serd_byte_source_peek(&me->source) != 0xBF || serd_byte_source_advance(&me->source)) { - r_err(me, SERD_BAD_SYNTAX, "corrupt byte order mark\n"); + r_err(me, SERD_BAD_SYNTAX, "corrupt byte order mark"); return SERD_BAD_SYNTAX; } } @@ -307,7 +307,7 @@ serd_reader_prepare(SerdReader* const reader) } else if (st == SERD_FAILURE) { reader->source.eof = true; } else { - r_err(reader, st, "error preparing read: %s\n", strerror(errno)); + r_err(reader, st, "error preparing read: %s", strerror(errno)); } return st; } |