aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-11-25 14:44:47 -0800
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-31 01:00:00 +0100
commit9edf808e350b0cd7fb153ae4a27589ef013d01cf (patch)
tree4b0f4d0a4dd03368a1f671cd7fd5ce13027d2eb8 /target
parent927210a828ddb15b05b873a8c65dc51fff560846 (diff)
downloadupstream-9edf808e350b0cd7fb153ae4a27589ef013d01cf.tar.gz
upstream-9edf808e350b0cd7fb153ae4a27589ef013d01cf.tar.bz2
upstream-9edf808e350b0cd7fb153ae4a27589ef013d01cf.zip
mvebu: gen_mvebu_sdcard_img.sh: don't use format directly in printf
Enables proper checking. Matches printf behavior in C. Found with shellcheck. Signed-off-by: Rosen Penev <rosenp@gmail.com> [add prefix to commit title] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/mvebu/image/gen_mvebu_sdcard_img.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mvebu/image/gen_mvebu_sdcard_img.sh b/target/linux/mvebu/image/gen_mvebu_sdcard_img.sh
index c93a2bd6e2..277c9377c1 100755
--- a/target/linux/mvebu/image/gen_mvebu_sdcard_img.sh
+++ b/target/linux/mvebu/image/gen_mvebu_sdcard_img.sh
@@ -41,7 +41,7 @@ if [ -n "$BOOTLOADER" ]; then
fi
# generate image file
-printf "Creating $OUTFILE from /dev/zero: "
+printf "Creating %s from /dev/zero: " "$OUTFILE"
dd if=/dev/zero of="$OUTFILE" bs=512 count=1 >/dev/null
printf "Done\n"