aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mount.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-05-26 23:44:51 +0000
committerRob Landley <rob@landley.net>2006-05-26 23:44:51 +0000
commit8bb50782a5f0dd955a6fe18d381eb9322d1447e7 (patch)
treeb717c772c6fef53c34b723341a8c5b12ccb57902 /util-linux/mount.c
parent5edc10275ec86f6ce6af97a8e2e5eeccb3a2e8cb (diff)
downloadbusybox-w32-8bb50782a5f0dd955a6fe18d381eb9322d1447e7.tar.gz
busybox-w32-8bb50782a5f0dd955a6fe18d381eb9322d1447e7.tar.bz2
busybox-w32-8bb50782a5f0dd955a6fe18d381eb9322d1447e7.zip
Change llist_add_* to take the address of the list rather than returning the new
head, and change all the callers.
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r--util-linux/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index a191f3260..e1c1c601b 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -169,7 +169,7 @@ static llist_t *get_block_backed_filesystems(void)
169 if(*fs=='#' || *fs=='*') continue; 169 if(*fs=='#' || *fs=='*') continue;
170 if(!*fs) continue; 170 if(!*fs) continue;
171 171
172 list=llist_add_to_end(list,bb_xstrdup(fs)); 172 llist_add_to_end(&list,bb_xstrdup(fs));
173 } 173 }
174 if (ENABLE_FEATURE_CLEAN_UP) fclose(f); 174 if (ENABLE_FEATURE_CLEAN_UP) fclose(f);
175 } 175 }