summaryrefslogtreecommitdiff
path: root/mkarchroot.in
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-08-16 02:20:09 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-08-16 02:20:09 -0400
commit3aca3b64077cfdb5132c08958c5e0e873aca89d2 (patch)
treed4ae2e90b5b0bf54b9fb0ae946cfa163f545660c /mkarchroot.in
parent9862c71c160631bfc1a14ccbd42688c547ca9c0b (diff)
Avoid having code/variables in format strings.
Diffstat (limited to 'mkarchroot.in')
-rw-r--r--mkarchroot.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkarchroot.in b/mkarchroot.in
index ba92e15..07bf7c6 100644
--- a/mkarchroot.in
+++ b/mkarchroot.in
@@ -30,7 +30,7 @@ while getopts 'hC:M:c:' arg; do
M) makepkg_conf="$OPTARG" ;;
c) cache_dir="$OPTARG" ;;
h|?) usage ;;
- *) error "invalid argument '$arg'"; usage ;;
+ *) error "invalid argument '%s'" "$arg"; usage ;;
esac
done
shift $(($OPTIND - 1))