summaryrefslogtreecommitdiffstats
path: root/bin/sh/input.c
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2011-06-04 15:05:52 +0000
committerjilles <jilles@FreeBSD.org>2011-06-04 15:05:52 +0000
commite193bb76ce511e6a74e47db019bc03629d1c1f91 (patch)
tree8c953aa2c8ed195518e54c3fd1fb1e1c2e07f27c /bin/sh/input.c
parent1bcd9bb7cf6b2dd57876958e080cf61c0f09a7f1 (diff)
downloadFreeBSD-src-e193bb76ce511e6a74e47db019bc03629d1c1f91.zip
FreeBSD-src-e193bb76ce511e6a74e47db019bc03629d1c1f91.tar.gz
sh: Reduce more needless differences between error messages.
Diffstat (limited to 'bin/sh/input.c')
-rw-r--r--bin/sh/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/input.c b/bin/sh/input.c
index e7baed3..c8b1a45 100644
--- a/bin/sh/input.c
+++ b/bin/sh/input.c
@@ -403,7 +403,7 @@ setinputfile(const char *fname, int push)
INTOFF;
if ((fd = open(fname, O_RDONLY)) < 0)
- error("Can't open %s: %s", fname, strerror(errno));
+ error("cannot open %s: %s", fname, strerror(errno));
if (fd < 10) {
fd2 = fcntl(fd, F_DUPFD, 10);
close(fd);
OpenPOWER on IntegriCloud