summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-05-25 16:22:06 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-05-25 16:22:06 (EDT)
commit2f95b9bef0fdcd737fbd58cdb5acc405a6b58da4 (patch)
treebc76a67b979f8bf072c580ef90f3663dcb06c3e3 /lib
parent50b6588d6350c7b15ffbcf5e0e704461861a8870 (diff)
check_block(): Add missing argument to error msgfeature/block-device-mounting
Diffstat (limited to 'lib')
-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
}