summaryrefslogtreecommitdiffstats
path: root/lib/block.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/block.sh')
-rw-r--r--lib/block.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/block.sh b/lib/block.sh
index d83572e..ef1eed9 100644
--- a/lib/block.sh
+++ b/lib/block.sh
@@ -37,7 +37,7 @@ check_block()
local dev="${1}"
if ! [ -b "${dev}" ]; then
- error 2 "$(get_msg 'block_device_invalid')"
+ error 2 "$(get_msg 'block_device_invalid')" "${dev}"
fi
}