diff --git a/kpatch/kpatch b/kpatch/kpatch index c1f8cfc..f196c2e 100755 --- a/kpatch/kpatch +++ b/kpatch/kpatch @@ -256,7 +256,7 @@ case "$1" in PATCH="$2" find_module "$PATCH" || die "can't find $PATCH" echo "Patch information for $PATCH:" - /usr/sbin/modinfo "$MODULE" || die "failed to get info for module $PATCH" + modinfo "$MODULE" || die "failed to get info for module $PATCH" ;; "help"|"-h"|"--help")