aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/reader.h')
-rw-r--r--src/reader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader.h b/src/reader.h
index 5441d8b6..1c308824 100644
--- a/src/reader.h
+++ b/src/reader.h
@@ -129,7 +129,7 @@ eat_byte_check(SerdReader* reader, const int byte)
{
const int c = peek_byte(reader);
if (c != byte) {
- return r_err(reader, SERD_BAD_SYNTAX, "expected '%c', not '%c'\n", byte, c);
+ return r_err(reader, SERD_BAD_SYNTAX, "expected '%c', not '%c'", byte, c);
}
skip_byte(reader, c);