diff options
Diffstat (limited to 'xdu.c')
-rw-r--r-- | xdu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xdu.c b/xdu.c index f410ba2..8d5f4f4 100644 --- a/xdu.c +++ b/xdu.c @@ -268,7 +268,7 @@ parse_entry(char *name, off_t size) arg = 0; indx = 0; bzero(path,sizeof(path)); bzero(buf,sizeof(buf)); - while (*name != NULL) { + while (*name) { if (*name == '/') { buf[indx] = 0; path[arg++] = strdup(buf); |