aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-25 12:46:03 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-25 12:46:03 +0000
commit656a38a371988abbeb559f89737f222dae1ebbd2 (patch)
tree5f3775e14e05880c7977402384756e6ca3102096 /util-linux
parent7488dd85691d795666d82ff00f803bbdd92e5f5d (diff)
downloadbusybox-w32-656a38a371988abbeb559f89737f222dae1ebbd2.tar.gz
busybox-w32-656a38a371988abbeb559f89737f222dae1ebbd2.tar.bz2
busybox-w32-656a38a371988abbeb559f89737f222dae1ebbd2.zip
use skip_whitespace where appropriate
git-svn-id: svn://busybox.net/trunk/busybox@16435 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/mount.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 5ced48fea..2c5e23177 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -203,8 +203,7 @@ static llist_t *get_block_backed_filesystems(void)
203 while ((buf = xmalloc_getline(f)) != 0) { 203 while ((buf = xmalloc_getline(f)) != 0) {
204 if (!strncmp(buf, "nodev", 5) && isspace(buf[5])) 204 if (!strncmp(buf, "nodev", 5) && isspace(buf[5]))
205 continue; 205 continue;
206 fs = buf; 206 fs = skip_whitespace(buf);
207 while (isspace(*fs)) fs++;
208 if (*fs=='#' || *fs=='*' || !*fs) continue; 207 if (*fs=='#' || *fs=='*' || !*fs) continue;
209 208
210 llist_add_to_end(&list, xstrdup(fs)); 209 llist_add_to_end(&list, xstrdup(fs));