| 70 | } |
| 71 | |
| 72 | int module_load(const char *module, const char *options) |
| 73 | { |
| 74 | char command[128]; |
| 75 | |
| 76 | snprintf(command, sizeof(command), "/sbin/modprobe %s %s", |
| 77 | module, (options ? options : "")); |
| 78 | |
| 79 | return run_command(command); |
| 80 | } |
| 81 | |
| 82 | #else |
| 83 |
no test coverage detected