Skip to content

Commit

Permalink
die: Use stderr rather than stdout
Browse files Browse the repository at this point in the history
Signed-off-by: Jussi Virtanen <jussi.virtanen@reaktor.fi>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
  • Loading branch information
jvirtanen authored and penberg committed Apr 2, 2011
1 parent b5b8520 commit 183f641
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions die.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ void do_die(const char *format, ...)
va_list ap;

va_start(ap, format);
vprintf(format, ap);
vfprintf(stderr, format, ap);
va_end(ap);

printf("\n");
fprintf(stderr, "\n");

exit(EXIT_FAILURE);
}
Expand Down

0 comments on commit 183f641

Please sign in to comment.