summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2011-09-19 11:15:18 +0000
committermiod <miod@openbsd.org>2011-09-19 11:15:18 +0000
commit3bfa0575df81047e3c7217f2597263fc9f29b2e6 (patch)
treea080bc2937fad19ef8620d967534f10035fbfd59
parent%b format strings take the value before the bitname string, not the other (diff)
downloadwireguard-openbsd-3bfa0575df81047e3c7217f2597263fc9f29b2e6.tar.xz
wireguard-openbsd-3bfa0575df81047e3c7217f2597263fc9f29b2e6.zip
Missing argument in STIDEBUG printf
-rw-r--r--sys/dev/ic/sti.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/sti.c b/sys/dev/ic/sti.c
index 4c93d966616..ae7957bf7e8 100644
--- a/sys/dev/ic/sti.c
+++ b/sys/dev/ic/sti.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sti.c,v 1.63 2011/08/18 20:02:58 miod Exp $ */
+/* $OpenBSD: sti.c,v 1.64 2011/09/19 11:15:18 miod Exp $ */
/*
* Copyright (c) 2000-2003 Michael Shalayeff
@@ -1050,7 +1050,7 @@ sti_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p)
"sti_setcment(%d, %u, %u, %u): %d\n", i,
(u_int)scr->scr_rcmap[i],
(u_int)scr->scr_gcmap[i],
- (u_int)scr->scr_bcmap[i]);
+ (u_int)scr->scr_bcmap[i], ret);
#endif
ret = EINVAL;
break;