summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-12-15 13:27:07 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-12-15 13:27:07 +0000
commit44bc5da8729af5dfec20986a6778702cd3d8228f (patch)
treeb6c2c1bcf68c62f1922e14bdfcb0483ff2878f58 /lib
parentdcc6c2e0462398432458a2fa1896530a191ad092 (diff)
more writeable -> writable by torh
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/login_cap.c4
-rw-r--r--lib/libc/net/rcmd.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/gen/login_cap.c b/lib/libc/gen/login_cap.c
index af0fc0167de..3ae8ab56a57 100644
--- a/lib/libc/gen/login_cap.c
+++ b/lib/libc/gen/login_cap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: login_cap.c,v 1.14 2002/11/22 19:47:03 deraadt Exp $ */
+/* $OpenBSD: login_cap.c,v 1.15 2002/12/15 13:27:06 henning Exp $ */
/*-
* Copyright (c) 1995,1997 Berkeley Software Design, Inc. All rights reserved.
@@ -947,7 +947,7 @@ secure_path(char *path)
syslog(LOG_ERR, "%s: not owned by root", path);
return (-1);
} else if (sb.st_mode & (S_IWGRP | S_IWOTH)) {
- syslog(LOG_ERR, "%s: writeable by non-root", path);
+ syslog(LOG_ERR, "%s: writable by non-root", path);
return (-1);
}
return (0);
diff --git a/lib/libc/net/rcmd.c b/lib/libc/net/rcmd.c
index d3d2d751b5e..1f2e02c9891 100644
--- a/lib/libc/net/rcmd.c
+++ b/lib/libc/net/rcmd.c
@@ -34,7 +34,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: rcmd.c,v 1.44 2002/09/06 18:35:12 deraadt Exp $";
+static char *rcsid = "$OpenBSD: rcmd.c,v 1.45 2002/12/15 13:27:06 henning Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -435,7 +435,7 @@ again:
else if (sbuf.st_uid && sbuf.st_uid != pwd->pw_uid)
cp = "bad .rhosts owner";
else if (sbuf.st_mode & (S_IWGRP|S_IWOTH))
- cp = ".rhosts writeable by other than owner";
+ cp = ".rhosts writable by other than owner";
/* If there were any problems, quit. */
if (cp) {
__rcmd_errstr = cp;