--- orig/shell-tools
+++ mod/shell-tools
@@ -24,7 +24,7 @@
 # Print warning message to standard error
 warn ()
 {
-    local message="$1"
+    local message="$@"
 
     echo >&2 "$(basename $0): Warning: ${message}"
 }
@@ -32,7 +32,7 @@
 # Print error message to standard error
 error ()
 {
-    local message="$1"
+    local message="$@"
 
     echo >&2 "$(basename $0): Error: ${message}"
 }
