diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-12-12 12:37:54 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-12-12 12:37:54 +0000 |
commit | 5e75596bc7ecc375eb660d08571628d947148952 (patch) | |
tree | d0c8d03ef532050d411272845279d9592dddf5b1 /bin | |
parent | 12ba30c009b591de376b84e89827fd11c09d46fd (diff) |
"stdin" is not a stdin! (perror)
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ed/io.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ed/io.c b/bin/ed/io.c index d84211711dd..bee2ea7f5ad 100644 --- a/bin/ed/io.c +++ b/bin/ed/io.c @@ -1,4 +1,4 @@ -/* $OpenBSD: io.c,v 1.4 1996/10/12 19:38:36 millert Exp $ */ +/* $OpenBSD: io.c,v 1.5 1996/12/12 12:37:53 mickey Exp $ */ /* $NetBSD: io.c,v 1.2 1995/03/21 09:04:43 cgd Exp $ */ /* io.c: This file contains the i/o routines for the ed line editor */ @@ -32,7 +32,7 @@ #if 0 static char *rcsid = "@(#)io.c,v 1.1 1994/02/01 00:34:41 alm Exp"; #else -static char rcsid[] = "$OpenBSD: io.c,v 1.4 1996/10/12 19:38:36 millert Exp $"; +static char rcsid[] = "$OpenBSD: io.c,v 1.5 1996/12/12 12:37:53 mickey Exp $"; #endif #endif /* not lint */ @@ -298,7 +298,7 @@ get_tty_line() return i; case EOF: if (ferror(stdin)) { - perror(stdin); + perror("stdin"); strcpy(errmsg, "cannot read stdin"); clearerr(stdin); ibufp = NULL; |