summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-07-06 21:24:16 +0000
committerDavid Robillard <d@drobilla.net>2012-07-06 21:24:16 +0000
commitfce06892f8206f10777283f997048c99ba1ef638 (patch)
tree691317f87ef9e9feb97637ca2b5f1c4afa897979
parent41c0e1215fca74d314f7b13867d2b1f4cf03aac1 (diff)
downloadsord-fce06892f8206f10777283f997048c99ba1ef638.tar.gz
sord-fce06892f8206f10777283f997048c99ba1ef638.tar.bz2
sord-fce06892f8206f10777283f997048c99ba1ef638.zip
Don't print nonexistent file/line information in error messages.
git-svn-id: http://svn.drobilla.net/sord/trunk@228 3d64ff67-21c5-427c-a301-fe4f08042e5a
-rw-r--r--src/sord.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sord.c b/src/sord.c
index 56c9d05..c1c480f 100644
--- a/src/sord.c
+++ b/src/sord.c
@@ -172,7 +172,7 @@ error(SordWorld* world, SerdStatus st, const char* fmt, ...)
if (world->error_sink) {
world->error_sink(world->error_handle, &e);
} else {
- fprintf(stderr, "error: %s:%u:%u: ", e.filename, e.line, e.col);
+ fprintf(stderr, "error: ");
vfprintf(stderr, fmt, args);
}
va_end(args);