Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode/usermode Use vfprintf() to make it compile...
details: https://anonhg.NetBSD.org/src/rev/f701a46d83ba
branches: trunk
changeset: 769610:f701a46d83ba
user: reinoud <reinoud%NetBSD.org@localhost>
date: Thu Sep 15 20:25:23 2011 +0000
description:
Use vfprintf() to make it compile under 5.1 again
diffstat:
sys/arch/usermode/usermode/thunk.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5013cb42b09f -r f701a46d83ba sys/arch/usermode/usermode/thunk.c
--- a/sys/arch/usermode/usermode/thunk.c Thu Sep 15 19:56:35 2011 +0000
+++ b/sys/arch/usermode/usermode/thunk.c Thu Sep 15 20:25:23 2011 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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);
}
}
Home |
Main Index |
Thread Index |
Old Index