summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-03-20 01:53:06 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-03-20 01:53:06 +0000
commit10e078fccffaddc8fcbf7c16e2534b9e90d5dc64 (patch)
treefcd177a012a8dc1aa3351f1184a1f75636b6085a /sbin
parent7c7e2f8637af51e471ba6a8d4f4b5590199611e4 (diff)
Fix cut & pasto in warning message; from Andre Smagin
Diffstat (limited to 'sbin')
-rw-r--r--sbin/fsck/fsck.c4
-rw-r--r--sbin/fsirand/fsirand.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sbin/fsck/fsck.c b/sbin/fsck/fsck.c
index 6ce454391bf..6af8c324236 100644
--- a/sbin/fsck/fsck.c
+++ b/sbin/fsck/fsck.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fsck.c,v 1.33 2015/01/16 06:39:57 deraadt Exp $ */
+/* $OpenBSD: fsck.c,v 1.34 2015/03/20 01:53:05 millert Exp $ */
/* $NetBSD: fsck.c,v 1.7 1996/10/03 20:06:30 christos Exp $ */
/*
@@ -101,7 +101,7 @@ main(int argc, char *argv[])
else
rl.rlim_cur = rl.rlim_max;
if (setrlimit(RLIMIT_DATA, &rl) < 0)
- warn("Can't get resource limit to max data size");
+ warn("Can't set resource limit to max data size");
} else
warn("Can't get resource limit for data size");
diff --git a/sbin/fsirand/fsirand.c b/sbin/fsirand/fsirand.c
index 02f9f20fdaf..316d43bad54 100644
--- a/sbin/fsirand/fsirand.c
+++ b/sbin/fsirand/fsirand.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fsirand.c,v 1.33 2015/02/07 02:09:13 deraadt Exp $ */
+/* $OpenBSD: fsirand.c,v 1.34 2015/03/20 01:53:05 millert Exp $ */
/*
* Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -75,7 +75,7 @@ main(int argc, char *argv[])
if (getrlimit(RLIMIT_DATA, &rl) == 0) {
rl.rlim_cur = rl.rlim_max;
if (setrlimit(RLIMIT_DATA, &rl) < 0)
- warn("Can't get resource limit to max data size");
+ warn("Can't set resource limit to max data size");
} else
warn("Can't get resource limit for data size");