summary refs log tree commit diff
path: root/src/cd.c
diff options
context:
space:
mode:
authorherbert <herbert@gondor.apana.org.au>2005-03-02 19:46:59 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2005-09-26 18:33:04 +1000
commitdc73119e1d42e969ba7081a1e15dbab7811721c6 (patch)
treed24abae8acaf535f324bc5c415792312df02b0fc /src/cd.c
parentNormalise input in likely/unlikely macros. (diff)
downloaddash-dc73119e1d42e969ba7081a1e15dbab7811721c6.tar.gz
dash-dc73119e1d42e969ba7081a1e15dbab7811721c6.zip
Renamed error to sh_error.
Diffstat (limited to '')
-rw-r--r--src/cd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cd.c b/src/cd.c
index 1a7aaee..aa84a63 100644
--- a/src/cd.c
+++ b/src/cd.c
@@ -152,7 +152,7 @@ docd:
 			break;
 		}
 	} while (path);
-	error("can't cd to %s", dest);
+	sh_error("can't cd to %s", dest);
 	/* NOTREACHED */
 out:
 	if (flags & CD_PRINT)