diff options
-rw-r--r-- | modutils/modprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/modprobe.c b/modutils/modprobe.c index c0469833f..6a714da77 100644 --- a/modutils/modprobe.c +++ b/modutils/modprobe.c | |||
@@ -531,7 +531,7 @@ extern int modprobe_main(int argc, char** argv) | |||
531 | 531 | ||
532 | if (remove_opt) { | 532 | if (remove_opt) { |
533 | do { | 533 | do { |
534 | mod_remove ( optind < argc ? xstrdup ( argv [optind] ) : 0 ); | 534 | mod_remove ( optind < argc ? xstrdup ( argv [optind] ) : NULL ); |
535 | } while ( ++optind < argc ); | 535 | } while ( ++optind < argc ); |
536 | 536 | ||
537 | return EXIT_SUCCESS; | 537 | return EXIT_SUCCESS; |