diff --git a/dracut-kdump.sh b/dracut-kdump.sh index 8986cf0..eb4cbe1 100755 --- a/dracut-kdump.sh +++ b/dracut-kdump.sh @@ -81,7 +81,7 @@ to_dev_name() echo $dev } -dump_localfs() +dump_fs() { local _dev=`to_dev_name $1` local _mp=`get_mp $_dev` @@ -215,7 +215,7 @@ read_kdump_conf() do case "$config_opt" in ext[234]|xfs|btrfs|minix) - add_dump_code "dump_localfs $config_val" + add_dump_code "dump_fs $config_val" ;; raw) add_dump_code "dump_raw $config_val"