From fce06892f8206f10777283f997048c99ba1ef638 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 6 Jul 2012 21:24:16 +0000 Subject: 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 --- src/sord.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1