summaryrefslogtreecommitdiff
path: root/sys/netccitt
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-12-21 15:30:22 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-12-21 15:30:22 +0000
commitdda9a0029c4bb94915c1828ed384c88981ce3b8e (patch)
treeb45bd19d10bce7e533241532396fb06c323d1ef2 /sys/netccitt
parent6f1cd2c4f4872f94230a3775d5044a7fdac2dabe (diff)
Kill non-standard kernel printf %: braindead extension for good.
ok markus@ drahn@
Diffstat (limited to 'sys/netccitt')
-rw-r--r--sys/netccitt/pk_subr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netccitt/pk_subr.c b/sys/netccitt/pk_subr.c
index c15ac6f9462..8634e5ce165 100644
--- a/sys/netccitt/pk_subr.c
+++ b/sys/netccitt/pk_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pk_subr.c,v 1.9 2003/12/10 07:22:43 itojun Exp $ */
+/* $OpenBSD: pk_subr.c,v 1.10 2003/12/21 15:30:21 miod Exp $ */
/* $NetBSD: pk_subr.c,v 1.12 1996/03/30 21:54:33 christos Exp $ */
/*
@@ -1153,8 +1153,9 @@ pk_message(int lcn, struct x25config * xcp, char * fmt,...)
printf("X.25: ");
va_start(ap, fmt);
- printf("%:\n", fmt, ap);
+ vprintf(fmt, ap);
va_end(ap);
+ printf("\n");
}
int