summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libzfs/libzfs_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libzfs/libzfs_util.c b/lib/libzfs/libzfs_util.c
index 01995f802..33c440c48 100644
--- a/lib/libzfs/libzfs_util.c
+++ b/lib/libzfs/libzfs_util.c
@@ -664,7 +664,7 @@ libzfs_load_module(const char *module)
if (libzfs_module_loaded(module))
return 0;
- return libzfs_run_process("modprobe", argv);
+ return libzfs_run_process("/sbin/modprobe", argv);
}
libzfs_handle_t *