diff options
Diffstat (limited to 'coreutils/ls.c')
-rw-r--r-- | coreutils/ls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c index cbfcfc7..e69f1af 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c @@ -573,7 +573,8 @@ static unsigned print_name(const char *name) putchar('\\'); len++; } - putchar(*name++); + putchar(*name); + name++; } putchar('"'); return len; |