summaryrefslogtreecommitdiff
path: root/modutils/modprobe.c
diff options
context:
space:
mode:
Diffstat (limited to 'modutils/modprobe.c')
-rw-r--r--modutils/modprobe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/modprobe.c b/modutils/modprobe.c
index c046983..6a714da 100644
--- a/modutils/modprobe.c
+++ b/modutils/modprobe.c
@@ -531,7 +531,7 @@ extern int modprobe_main(int argc, char** argv)
if (remove_opt) {
do {
- mod_remove ( optind < argc ? xstrdup ( argv [optind] ) : 0 );
+ mod_remove ( optind < argc ? xstrdup ( argv [optind] ) : NULL );
} while ( ++optind < argc );
return EXIT_SUCCESS;