diff options
-rwxr-xr-x | scripts/genhdimg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/genhdimg b/scripts/genhdimg index 4acbab52b..58d4e3843 100755 --- a/scripts/genhdimg +++ b/scripts/genhdimg @@ -39,7 +39,7 @@ pad() { fromsize=$(stat --printf "%s" "$from") if [ $(($fromsize)) -gt $(($blocks * 512)) ]; then - echo "warning: $from truncated. Need $fromsize bytes, but have only $size!" + echo "warning: $from truncated. Need $fromsize bytes, but have only $(($blocks * 512))!" fi cat $from /dev/zero | dd bs=512 count=$(($blocks)) >> "$to" 2>/dev/null |