Module Name: src
Committed By: reinoud
Date: Thu Sep 15 20:25:23 UTC 2011
Modified Files:
src/sys/arch/usermode/usermode: thunk.c
Log Message:
Use vfprintf() to make it compile under 5.1 again
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/usermode/usermode/thunk.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/usermode/usermode/thunk.c
diff -u src/sys/arch/usermode/usermode/thunk.c:1.38 src/sys/arch/usermode/usermode/thunk.c:1.39
--- src/sys/arch/usermode/usermode/thunk.c:1.38 Thu Sep 15 12:23:51 2011
+++ src/sys/arch/usermode/usermode/thunk.c Thu Sep 15 20:25:23 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: thunk.c,v 1.38 2011/09/15 12:23:51 reinoud Exp $ */
+/* $NetBSD: thunk.c,v 1.39 2011/09/15 20:25:23 reinoud Exp $ */
/*-
* Copyright (c) 2011 Jared D. McNeill <[email protected]>
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifdef __NetBSD__
-__RCSID("$NetBSD: thunk.c,v 1.38 2011/09/15 12:23:51 reinoud Exp $");
+__RCSID("$NetBSD: thunk.c,v 1.39 2011/09/15 20:25:23 reinoud Exp $");
#endif
#include <sys/types.h>
@@ -69,7 +69,7 @@
va_list ap;
va_start(ap, fmt);
- vdprintf(2, fmt, ap);
+ vfprintf(stderr, fmt, ap);
va_end(ap);
}
}