Permalink
Browse files

die: Use stderr rather than stdout

Signed-off-by: Jussi Virtanen <jussi.virtanen@reaktor.fi>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
  • Loading branch information...
1 parent b5b8520 commit 183f641c062288b7a31e8c2cb45625aedc7a24a7 @jvirtanen jvirtanen committed with Apr 1, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 die.c
View
4 die.c
@@ -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);
}

0 comments on commit 183f641

Please sign in to comment.