example: do not output error message twice
This commit is contained in:
parent
41d6b1bf7d
commit
99e2489e89
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user