diff options
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index 40b921be1..45e552217 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -2959,7 +2959,7 @@ cdcmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) | |||
2959 | if (!*dest) | 2959 | if (!*dest) |
2960 | dest = "."; | 2960 | dest = "."; |
2961 | path = bltinlookup("CDPATH"); | 2961 | path = bltinlookup("CDPATH"); |
2962 | while (p = path, (len = padvance(&path, dest)) >= 0) { | 2962 | while (p = path, (len = padvance_magic(&path, dest, 0)) >= 0) { |
2963 | c = *p; | 2963 | c = *p; |
2964 | p = stalloc(len); | 2964 | p = stalloc(len); |
2965 | 2965 | ||