summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-01-29 01:54:22 +0000
committerderaadt <deraadt@openbsd.org>1996-01-29 01:54:22 +0000
commit8db582a78f66b52e2698a238316d094f5d9038eb (patch)
treea371a7b4a58a60472f403d898c37a5a7e4b8416a /lib/libc
parentSendmail 8.7.3 from NetBSD (diff)
downloadwireguard-openbsd-8db582a78f66b52e2698a238316d094f5d9038eb.tar.xz
wireguard-openbsd-8db582a78f66b52e2698a238316d094f5d9038eb.zip
from netbsd; warnx called incorrectly
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/getbsize.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/getbsize.c b/lib/libc/gen/getbsize.c
index a20fe6d9604..218253c10d6 100644
--- a/lib/libc/gen/getbsize.c
+++ b/lib/libc/gen/getbsize.c
@@ -1,4 +1,4 @@
-/* $NetBSD: getbsize.c,v 1.7 1995/06/16 07:12:41 jtc Exp $ */
+/* $NetBSD: getbsize.c,v 1.8 1996/01/22 16:34:08 mycroft Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)getbsize.c 8.1 (Berkeley) 6/4/93";
#else
-static char rcsid[] = "$NetBSD: getbsize.c,v 1.7 1995/06/16 07:12:41 jtc Exp $";
+static char rcsid[] = "$NetBSD: getbsize.c,v 1.8 1996/01/22 16:34:08 mycroft Exp $";
#endif
#endif /* not lint */
@@ -98,7 +98,7 @@ fmterr: _warnx("%s: unknown blocksize", p);
n = max;
}
if ((blocksize = n * mul) < 512) {
-underflow: _warnx("%s: minimum blocksize is 512");
+underflow: _warnx("%s: minimum blocksize is 512", p);
form = "";
blocksize = n = 512;
}