summaryrefslogtreecommitdiffstats
path: root/scull/scull_load
diff options
context:
space:
mode:
Diffstat (limited to 'scull/scull_load')
-rwxr-xr-xscull/scull_load2
1 files changed, 1 insertions, 1 deletions
diff --git a/scull/scull_load b/scull/scull_load
index 0da1378..2ef6a54 100755
--- a/scull/scull_load
+++ b/scull/scull_load
@@ -13,7 +13,7 @@ fi
# invoke insmod with all arguments we got
# and use a pathname, as insmod doesn't look in . by default
-/sbin/insmod ./$module.ko $* || exit 1
+insmod ./$module.ko $* || exit 1
# retrieve major number
major=$(awk "\$2==\"$module\" {print \$1}" /proc/devices)