diff options
author | David Robillard <d@drobilla.net> | 2011-04-30 03:16:28 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-30 03:16:28 +0000 |
commit | 34aa98fb074dcc7547b79b078d0faf9718a71b4d (patch) | |
tree | b7412f24a7065fa75f8a62241f0a76edf0f41c9d /src/writer.c | |
parent | 253f6ba9c97328199f5b4c22d8e68a393abcf038 (diff) | |
download | serd-34aa98fb074dcc7547b79b078d0faf9718a71b4d.tar.gz serd-34aa98fb074dcc7547b79b078d0faf9718a71b4d.tar.bz2 serd-34aa98fb074dcc7547b79b078d0faf9718a71b4d.zip |
Consistent error messages
git-svn-id: http://svn.drobilla.net/serd/trunk@152 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/writer.c')
-rw-r--r-- | src/writer.c | 6 |
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); |