diff options
author | Denys Vlasenko | 2015-10-23 18:43:16 +0200 |
---|---|---|
committer | Denys Vlasenko | 2015-10-23 18:43:16 +0200 |
commit | 00da72bee09cfe4a757cbba4465a76269dae9f43 (patch) | |
tree | d30eb748bff17b068232e6c47dbf0560d253a35f /shell | |
parent | 59f8475924760a5d74e18a88f325493e7c38c537 (diff) | |
download | busybox-00da72bee09cfe4a757cbba4465a76269dae9f43.zip busybox-00da72bee09cfe4a757cbba4465a76269dae9f43.tar.gz |
tidy up strtok use
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-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 8a1628e..17121aa 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -2556,7 +2556,7 @@ updatepwd(const char *dir) new = stack_putstr(p, new); USTPUTC('/', new); } - p = strtok(0, "/"); + p = strtok(NULL, "/"); } if (new > lim) STUNPUTC(new); |