example: do not output error message twice

This commit is contained in:
Erik Faye-Lund 2010-05-01 20:36:43 +02:00
parent 41d6b1bf7d
commit 99e2489e89

View File

@ -60,7 +60,6 @@ void die(const char *fmt, ...)
char temp[4096];
va_list va;
va_start(va, fmt);
vfprintf(stderr, fmt, va);
vsnprintf(temp, sizeof(temp), fmt, va);
va_end(va);