aboutsummaryrefslogtreecommitdiffstats
path: root/src/writer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/writer.c')
-rw-r--r--src/writer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/writer.c b/src/writer.c
index f6077773..67b69166 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -105,7 +105,7 @@ write_text(SerdWriter* writer, TextContext ctx,
size = 4;
c = in & 0x07;
} else {
- fprintf(stderr, "invalid UTF-8 at offset %zu: %X\n", i, in);
+ fprintf(stderr, "Invalid UTF-8 at offset %zu: %X\n", i, in);
return false;
}
@@ -206,7 +206,7 @@ write_node(SerdWriter* writer,
switch (writer->syntax) {
case SERD_NTRIPLES:
if (!serd_env_expand(writer->env, node, &uri_prefix, &uri_suffix)) {
- fprintf(stderr, "error: undefined namespace prefix `%s'\n", node->buf);
+ fprintf(stderr, "Undefined namespace prefix `%s'\n", node->buf);
return false;
}
writer->sink("<", 1, writer->stream);
@@ -374,7 +374,7 @@ serd_writer_end_anon(SerdWriter* writer,
return true;
}
if (serd_stack_is_empty(&writer->anon_stack)) {
- fprintf(stderr, "unexpected end of anonymous node\n");
+ fprintf(stderr, "Unexpected end of anonymous node\n");
return false;
}
assert(writer->indent > 0);