diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-05-26 23:44:51 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-05-26 23:44:51 +0000 |
commit | ab1c37300f2a6a0215c17cd683df316d8a1e8f59 (patch) | |
tree | b717c772c6fef53c34b723341a8c5b12ccb57902 /util-linux | |
parent | c806c321575528e76c4479666d398a0534cb81d8 (diff) | |
download | busybox-w32-ab1c37300f2a6a0215c17cd683df316d8a1e8f59.tar.gz busybox-w32-ab1c37300f2a6a0215c17cd683df316d8a1e8f59.tar.bz2 busybox-w32-ab1c37300f2a6a0215c17cd683df316d8a1e8f59.zip |
Change llist_add_* to take the address of the list rather than returning the new
head, and change all the callers.
git-svn-id: svn://busybox.net/trunk/busybox@15199 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/mount.c | 2 |
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 | } |