summaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-29 01:54:23 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-29 01:54:23 +0000
commit63887ae2d5857b28215cb44b3e2a6732ad22545c (patch)
tree9233c52ab9272807078a7c375498ae7e7cb8fe9e /lib/libc/gen
parentd4348a83d4e90a8f1a7a26c930bbbb9a30ebdd58 (diff)
from netbsd; warnx called incorrectly
Diffstat (limited to 'lib/libc/gen')
-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;
}