diff options
author | herbert <herbert@gondor.apana.org.au> | 2005-03-02 19:46:59 +1100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2005-09-26 18:33:04 +1000 |
commit | dc73119e1d42e969ba7081a1e15dbab7811721c6 (patch) | |
tree | d24abae8acaf535f324bc5c415792312df02b0fc /src/main.c | |
parent | Normalise input in likely/unlikely macros. (diff) | |
download | dash-dc73119e1d42e969ba7081a1e15dbab7811721c6.tar.gz dash-dc73119e1d42e969ba7081a1e15dbab7811721c6.zip |
Renamed error to sh_error.
Diffstat (limited to '')
-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 */ } |