diff options
author | Denis Vlasenko | 2006-10-25 12:46:03 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-10-25 12:46:03 +0000 |
commit | d18a3a20dbafc4023b1c636b4e9b4bb80902c1e8 (patch) | |
tree | 5f3775e14e05880c7977402384756e6ca3102096 /util-linux/mount.c | |
parent | c8400a216206a848f6c4b83b668df37f6fb546ee (diff) | |
download | busybox-d18a3a20dbafc4023b1c636b4e9b4bb80902c1e8.zip busybox-d18a3a20dbafc4023b1c636b4e9b4bb80902c1e8.tar.gz |
use skip_whitespace where appropriate
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r-- | util-linux/mount.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index 5ced48f..2c5e231 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c @@ -203,8 +203,7 @@ static llist_t *get_block_backed_filesystems(void) while ((buf = xmalloc_getline(f)) != 0) { if (!strncmp(buf, "nodev", 5) && isspace(buf[5])) continue; - fs = buf; - while (isspace(*fs)) fs++; + fs = skip_whitespace(buf); if (*fs=='#' || *fs=='*' || !*fs) continue; llist_add_to_end(&list, xstrdup(fs)); |