summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-04-22 00:23:35 +0000
committerguenther <guenther@openbsd.org>2014-04-22 00:23:35 +0000
commitc85a336812eb513bc45d90ea9ffd8f6ce65ba3c6 (patch)
tree1cc548d1e24c094761e0ff4359876a746a98dd68
parentConvert a malloc(x*y)+memset to calloc(x,y) (diff)
downloadwireguard-openbsd-c85a336812eb513bc45d90ea9ffd8f6ce65ba3c6.tar.xz
wireguard-openbsd-c85a336812eb513bc45d90ea9ffd8f6ce65ba3c6.zip
Clarify an err() message
-rw-r--r--sbin/newfs_ext2fs/newfs_ext2fs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/newfs_ext2fs/newfs_ext2fs.c b/sbin/newfs_ext2fs/newfs_ext2fs.c
index 00f1bda3469..ba3e8e307f1 100644
--- a/sbin/newfs_ext2fs/newfs_ext2fs.c
+++ b/sbin/newfs_ext2fs/newfs_ext2fs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: newfs_ext2fs.c,v 1.10 2014/04/21 09:22:15 guenther Exp $ */
+/* $OpenBSD: newfs_ext2fs.c,v 1.11 2014/04/22 00:23:35 guenther Exp $ */
/* $NetBSD: newfs_ext2fs.c,v 1.8 2009/03/02 10:38:13 tsutsui Exp $ */
/*
@@ -337,7 +337,7 @@ main(int argc, char *argv[])
bufsize = sfs.f_iosize;
if ((buf = calloc(1, bufsize)) == NULL)
- err(1, "can't malloc buffer of %d",
+ err(1, "can't allocate buffer of %d",
bufsize);
bufrem = fssize * sectorsize;
if (verbosity > 0)