Want more features on Pastebin? Sign Up, it's FREE!
Guest

remove_rmmod_wait_option.fix

By: Thaodan on Nov 16th, 2012  |  syntax: C  |  size: 0.30 KB  |  views: 138  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff --git a/src/module.c b/src/module.c
  2. index 06f8872..55fa70e 100644
  3. --- a/src/module.c
  4. +++ b/src/module.c
  5. @@ -96,7 +96,6 @@ int module_unload(char *driver) {
  6.      bb_log(LOG_INFO, "Unloading %s driver\n", driver);
  7.      char *mod_argv[] = {
  8.        "rmmod",
  9. -      "--wait",
  10.        driver,
  11.        NULL
  12.      };
clone this paste RAW Paste Data