aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ubinize-image.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ubinize-image.sh b/scripts/ubinize-image.sh
index 09a00b1898..a18d6dc428 100755
--- a/scripts/ubinize-image.sh
+++ b/scripts/ubinize-image.sh
@@ -9,7 +9,7 @@ outfile=""
err=""
get_magic_word() {
- dd if=$1 bs=2 count=1 2>/dev/null | hexdump -v -n 2 -e '1/1 "%02x"'
+ dd if=$1 bs=2 count=1 2>/dev/null | od -A n -N 2 -t x1 | tr -d ' '
}
is_ubifs() {