dracut-functions: beautified warnings
authorHarald Hoyer <harald@redhat.com>
Wed, 26 May 2010 15:43:18 +0000 (17:43 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 26 May 2010 15:43:18 +0000 (17:43 +0200)
dracut-functions

index fce5abb..a76cc22 100755 (executable)
@@ -387,7 +387,7 @@ should_source_module() {
     "$1/check" $hostonly || return 1
     for dep in $("$1/check" -d); do
        check_module_deps "$dep" && continue
-       dwarning "Cannot load $mod, dependencies failed."
+       dwarning "Cannot load dracut module \"$mod\", dependencies failed."
        return 1
     done
 }
@@ -435,7 +435,7 @@ install_kmod_with_fw() {
            fi
        done
        if [[ $found != yes ]]; then
-           dinfo "Possible missing firmware ${fw} for module ${mod}.ko"
+           dinfo "Possible missing firmware \"${fw}\" for kernel module \"${mod}.ko\""
        fi
     done
 }