diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c index 3575ec4..76a75f7 100644 --- a/src/main.c +++ b/src/main.c @@ -312,7 +312,7 @@ readcmdfile(char *name) if ((fd = open(name, O_RDONLY)) >= 0) setinputfd(fd, 1); else - error("Can't open %s", name); + sh_error("Can't open %s", name); INTON; cmdloop(0); popfile(); @@ -349,7 +349,7 @@ find_dot_file(char *basename) } /* not found in the PATH */ - error("%s: not found", basename); + sh_error("%s: not found", basename); /* NOTREACHED */ } |