summaryrefslogtreecommitdiffstats
path: root/bin/sh/cd.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/cd.c')
-rw-r--r--bin/sh/cd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/cd.c b/bin/sh/cd.c
index 068dfb7..041d6b4 100644
--- a/bin/sh/cd.c
+++ b/bin/sh/cd.c
@@ -224,7 +224,7 @@ cdphysical(char *dest)
}
p = findcwd(NULL);
if (p == NULL)
- out2fmt_flush("cd: warning: failed to get name of current directory\n");
+ warning("warning: failed to get name of current directory");
updatepwd(p);
INTON;
return (0);
OpenPOWER on IntegriCloud