aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 8a1628e81..17121aa9b 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -2556,7 +2556,7 @@ updatepwd(const char *dir)
2556 new = stack_putstr(p, new); 2556 new = stack_putstr(p, new);
2557 USTPUTC('/', new); 2557 USTPUTC('/', new);
2558 } 2558 }
2559 p = strtok(0, "/"); 2559 p = strtok(NULL, "/");
2560 } 2560 }
2561 if (new > lim) 2561 if (new > lim)
2562 STUNPUTC(new); 2562 STUNPUTC(new);