diff options
| author | Philippe Charnier <charnier@FreeBSD.org> | 2003-09-07 15:30:42 +0000 |
|---|---|---|
| committer | Philippe Charnier <charnier@FreeBSD.org> | 2003-09-07 15:30:42 +0000 |
| commit | 9ea098b13eac4c2c4554933b99c331473166c01c (patch) | |
| tree | 516aaa9a668081f219858dea073a4d35b79b92ce /usr.bin | |
| parent | 003bc1d43e300c9ba6f1c0a2438664b4059839e9 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/rsh/rsh.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/rsh/rsh.c b/usr.bin/rsh/rsh.c index 2830f136c425..63bc661c259e 100644 --- a/usr.bin/rsh/rsh.c +++ b/usr.bin/rsh/rsh.c @@ -44,9 +44,11 @@ static const char copyright[] = The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ +#if 0 #ifndef lint static const char sccsid[] = "From: @(#)rsh.c 8.3 (Berkeley) 4/6/94"; #endif /* not lint */ +#endif #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); @@ -71,7 +73,6 @@ __FBSDID("$FreeBSD$"); #include <stdlib.h> #include <string.h> #include <unistd.h> -#include <err.h> /* * rsh - remote shell @@ -304,7 +305,7 @@ done: continue; } if (srval == 0) - errx(1, "timeout reached (%d seconds)\n", timeout); + errx(1, "timeout reached (%d seconds)", timeout); if (FD_ISSET(rfd2, &ready)) { errno = 0; cc = read(rfd2, buf, sizeof buf); |
