summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-08-02 08:13:18 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-08-02 08:13:18 (EDT)
commit9bce186316c34f936202083be20327d48d41c294 (patch)
tree37e4af15b8880fcc9820c3057d9eddae58907bee /src
parent0de927114cfa21437eca816df342473a9177d2e8 (diff)
Give format string to oh_error().
Diffstat (limited to 'src')
-rw-r--r--src/opkbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index d1c880d..f9154de 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -212,7 +212,7 @@ find_sanity()
oh_error "${oh_str_no_format}"
fi
if [ "${format}" -ne 0 ]; then
- oh_error "${oh_str_unsupported_format}"
+ oh_error "${oh_str_unsupported_format}" "${format}"
fi
# Check for all files immediately required by SPF 2.0.