diff options
Diffstat (limited to 'bin/ls/stat_flags.c')
-rw-r--r-- | bin/ls/stat_flags.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ls/stat_flags.c b/bin/ls/stat_flags.c index 921d3c5..1bf5820 100644 --- a/bin/ls/stat_flags.c +++ b/bin/ls/stat_flags.c @@ -94,7 +94,7 @@ flags_to_string(flags, def) setflags &= ~mapping[i].flag; } } - *dp++ = '\0'; + *dp = '\0'; return (dp == string && def != NULL ? def : string); } |