summaryrefslogtreecommitdiffstats
path: root/scullc/scullc_load
diff options
context:
space:
mode:
Diffstat (limited to 'scullc/scullc_load')
-rw-r--r--scullc/scullc_load2
1 files changed, 1 insertions, 1 deletions
diff --git a/scullc/scullc_load b/scullc/scullc_load
index 8ca1f69..bcf2e82 100644
--- a/scullc/scullc_load
+++ b/scullc/scullc_load
@@ -15,7 +15,7 @@ rm -f /dev/${device}?
# invoke insmod with all arguments we got
# and use a pathname, as newer modutils don't look in . by default
-/sbin/insmod -f ./$module.ko $* || exit 1
+insmod ./$module.ko $* || exit 1
major=`cat /proc/devices | awk "\\$2==\"$module\" {print \\$1}"`