From 8bb50782a5f0dd955a6fe18d381eb9322d1447e7 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 26 May 2006 23:44:51 +0000 Subject: Change llist_add_* to take the address of the list rather than returning the new head, and change all the callers. --- util-linux/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux') diff --git a/util-linux/mount.c b/util-linux/mount.c index a191f32..e1c1c60 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c @@ -169,7 +169,7 @@ static llist_t *get_block_backed_filesystems(void) if(*fs=='#' || *fs=='*') continue; if(!*fs) continue; - list=llist_add_to_end(list,bb_xstrdup(fs)); + llist_add_to_end(&list,bb_xstrdup(fs)); } if (ENABLE_FEATURE_CLEAN_UP) fclose(f); } -- cgit v1.1