diff options
author | 1996-07-02 06:51:56 +0000 | |
---|---|---|
committer | 1996-07-02 06:51:56 +0000 | |
commit | 1c512f9ac0b45fb0d758589d49c7107cd80ba629 (patch) | |
tree | cda3fe63cef80a34394357360bea90226d1ba240 /sys/kern/subr_prf.c | |
parent | simpler usage line (diff) | |
download | wireguard-openbsd-1c512f9ac0b45fb0d758589d49c7107cd80ba629.tar.xz wireguard-openbsd-1c512f9ac0b45fb0d758589d49c7107cd80ba629.zip |
-Wall & -Wstrict-prototype fixes
Diffstat (limited to 'sys/kern/subr_prf.c')
-rw-r--r-- | sys/kern/subr_prf.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index 2f70620a321..46e68bf8633 100644 --- a/sys/kern/subr_prf.c +++ b/sys/kern/subr_prf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_prf.c,v 1.6 1996/06/26 20:39:21 dm Exp $ */ +/* $OpenBSD: subr_prf.c,v 1.7 1996/07/02 06:51:59 niklas Exp $ */ /* $NetBSD: subr_prf.c,v 1.25 1996/04/22 01:38:46 christos Exp $ */ /*- @@ -114,7 +114,7 @@ panic(fmt, va_alist) if (panicstr) bootopt |= RB_NOSYNC; else { - vsprintf (panicbuf, fmt, ap); + vsprintf(panicbuf, fmt, ap); panicstr = panicbuf; } @@ -638,10 +638,10 @@ sprintf(buf, cfmt, va_alist) va_list ap; int ret; - va_start (ap, cfmt); - ret = vsprintf (buf, cfmt, ap); - va_end (ap); - return (ret); + va_start(ap, cfmt); + ret = vsprintf(buf, cfmt, ap); + va_end(ap); + return(ret); } /* |