diff options
author | Rob Landley <rob@landley.net> | 2006-05-26 23:44:51 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-05-26 23:44:51 +0000 |
commit | 8bb50782a5f0dd955a6fe18d381eb9322d1447e7 (patch) | |
tree | b717c772c6fef53c34b723341a8c5b12ccb57902 /archival/cpio.c | |
parent | 5edc10275ec86f6ce6af97a8e2e5eeccb3a2e8cb (diff) | |
download | busybox-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 'archival/cpio.c')
-rw-r--r-- | archival/cpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/cpio.c b/archival/cpio.c index 26f845bc9..478379c54 100644 --- a/archival/cpio.c +++ b/archival/cpio.c | |||
@@ -88,7 +88,7 @@ int cpio_main(int argc, char **argv) | |||
88 | 88 | ||
89 | while (optind < argc) { | 89 | while (optind < argc) { |
90 | archive_handle->filter = filter_accept_list; | 90 | archive_handle->filter = filter_accept_list; |
91 | archive_handle->accept = llist_add_to(archive_handle->accept, argv[optind]); | 91 | llist_add_to(&(archive_handle->accept), argv[optind]); |
92 | optind++; | 92 | optind++; |
93 | } | 93 | } |
94 | 94 | ||