wok-stable diff busybox/stuff/busybox-1.12.0-zmodules.u @ rev 1873
tazndis: Fix Usage().
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Dec 16 23:04:40 2008 +0100 (2008-12-16) |
parents | 3d99ad142611 |
children | 3fd828035bdb |
line diff
1.1 --- a/busybox/stuff/busybox-1.12.0-zmodules.u Sat Oct 04 14:30:26 2008 +0000 1.2 +++ b/busybox/stuff/busybox-1.12.0-zmodules.u Tue Dec 16 23:04:40 2008 +0100 1.3 @@ -191,3 +191,18 @@ 1.4 argv += optind; 1.5 1.6 /* If a version is provided, then that kernel version’s module directory 1.7 + 1.8 +--- busybox-1.12.0/modutils/depmod.c 1.9 ++++ busybox-1.12.0/modutils/depmod.c 1.10 +@@ -141,6 +141,11 @@ 1.11 + 1.12 + if (!(option_mask32 & ARG_n)) { /* --dry-run */ 1.13 + chp = concat_path_file(moddir, CONFIG_DEFAULT_DEPMOD_FILE); 1.14 ++ if (option_mask32 & ARG_b) { 1.15 ++ char *s = concat_path_file(moddir_base, chp); 1.16 ++ free(chp); 1.17 ++ chp = s; 1.18 ++ } 1.19 + filedes = xfopen_for_write(chp); 1.20 + if (ENABLE_FEATURE_CLEAN_UP) 1.21 + free(chp);