Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/modutils/lsmod.c
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/modutils/lsmod.c
r2725 r3232 9 9 */ 10 10 11 //applet:IF_LSMOD(APPLET(lsmod, _BB_DIR_SBIN, _BB_SUID_DROP))11 //applet:IF_LSMOD(APPLET(lsmod, BB_DIR_SBIN, BB_SUID_DROP)) 12 12 13 13 //usage:#if !ENABLE_MODPROBE_SMALL … … 88 88 // or comma-separated list ended by comma 89 89 // so trimming the trailing char is just what we need! 90 token[3][strlen(token[3])-1] = '\0'; 90 if (token[3][0]) 91 token[3][strlen(token[3]) - 1] = '\0'; 91 92 # if ENABLE_UNICODE_SUPPORT 92 93 {
Note:
See TracChangeset
for help on using the changeset viewer.