diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libc/net/rcmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/net/rcmd.c b/src/lib/libc/net/rcmd.c index d3d2d751b5..1f2e02c989 100644 --- a/src/lib/libc/net/rcmd.c +++ b/src/lib/libc/net/rcmd.c | |||
@@ -34,7 +34,7 @@ | |||
34 | */ | 34 | */ |
35 | 35 | ||
36 | #if defined(LIBC_SCCS) && !defined(lint) | 36 | #if defined(LIBC_SCCS) && !defined(lint) |
37 | static char *rcsid = "$OpenBSD: rcmd.c,v 1.44 2002/09/06 18:35:12 deraadt Exp $"; | 37 | static char *rcsid = "$OpenBSD: rcmd.c,v 1.45 2002/12/15 13:27:06 henning Exp $"; |
38 | #endif /* LIBC_SCCS and not lint */ | 38 | #endif /* LIBC_SCCS and not lint */ |
39 | 39 | ||
40 | #include <sys/param.h> | 40 | #include <sys/param.h> |
@@ -435,7 +435,7 @@ again: | |||
435 | else if (sbuf.st_uid && sbuf.st_uid != pwd->pw_uid) | 435 | else if (sbuf.st_uid && sbuf.st_uid != pwd->pw_uid) |
436 | cp = "bad .rhosts owner"; | 436 | cp = "bad .rhosts owner"; |
437 | else if (sbuf.st_mode & (S_IWGRP|S_IWOTH)) | 437 | else if (sbuf.st_mode & (S_IWGRP|S_IWOTH)) |
438 | cp = ".rhosts writeable by other than owner"; | 438 | cp = ".rhosts writable by other than owner"; |
439 | /* If there were any problems, quit. */ | 439 | /* If there were any problems, quit. */ |
440 | if (cp) { | 440 | if (cp) { |
441 | __rcmd_errstr = cp; | 441 | __rcmd_errstr = cp; |