kpatch: change "patches" to "patch modules" in list

This commit is contained in:
Josh Poimboeuf 2014-05-06 12:53:45 -05:00
parent 10004a9e6e
commit 49f832c2b9
1 changed files with 3 additions and 3 deletions

View File

@ -202,20 +202,20 @@ case "$1" in
"list")
[[ "$#" -ne 1 ]] && usage
echo "Loaded patches:"
echo "Loaded patch modules:"
for module in /sys/kernel/kpatch/patches/*; do
if [[ -e $module ]] && [[ $(cat $module/enabled) -eq 1 ]]; then
echo_patch_name $module
fi
done
echo ""
echo "System installed patches:"
echo "System installed patch modules:"
for i in "$SYSDIR"/*.ko; do
[[ -e "$i" ]] || continue
echo_patch_name $i
done
echo ""
echo "User installed patches:"
echo "User installed patch modules:"
for i in "$USERDIR"/*.ko; do
[[ -e "$i" ]] || continue
echo_patch_name $i