summaryrefslogtreecommitdiff
path: root/hook-functions
diff options
context:
space:
mode:
authorMichael Prokop <mika@debian.org>2010-06-14 12:17:51 +0200
committerMichael Prokop <mika@debian.org>2010-06-14 12:17:51 +0200
commit3a02c6f37d4c331b347692a0200941c4c59b3ea3 (patch)
tree422d00053fe72fa9c467fd89f2eb1fdd207089f6 /hook-functions
parentab28c77261267a14cc7308e8c4d7a0b48a8ac2ab (diff)
downloadinitramfs-tools-3a02c6f37d4c331b347692a0200941c4c59b3ea3.tar.gz
initramfs-tools-3a02c6f37d4c331b347692a0200941c4c59b3ea3.zip
code cleanup: consequently use "W:" for warnings.
The only exception is log_warning_msg() inside scripts/functions which is/can be used by external scripts. Signed-off-by: Michael Prokop <mika@debian.org>
Diffstat (limited to 'hook-functions')
-rw-r--r--hook-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/hook-functions b/hook-functions
index c456c5d..ffb6a67 100644
--- a/hook-functions
+++ b/hook-functions
@@ -3,7 +3,7 @@
catenate_cpiogz() {
# Sanity check
if [ ! -e "${1}" ]; then
- echo "W:catenate_cpiogz: arg1='${1}' does not exist." >&2
+ echo "W: catenate_cpiogz: arg1='${1}' does not exist." >&2
return
fi
@@ -29,7 +29,7 @@ add_modules_from_file()
{
# Sanity check
if [ ! -e "${1}" ]; then
- echo "W:add_modules_from_file: arg1='${1}' does not exist." >&2
+ echo "W: add_modules_from_file: arg1='${1}' does not exist." >&2
return
fi