From 971451d4262e29d75570fe167a09fd616ee08170 Mon Sep 17 00:00:00 2001
From: Antonio Ospite <ao2@ao2.it>
Date: Sat, 28 Jun 2014 11:24:37 +0200
Subject: [PATCH 1/1] ddsect.sh: small cleanups

---
 ddsect.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ddsect.sh b/ddsect.sh
index 1a27e5f..a11a1ec 100755
--- a/ddsect.sh
+++ b/ddsect.sh
@@ -52,7 +52,7 @@ print_map_info()
 
   (
   echo "NAME START_ADDRESS END_ADDRESS SIZE SIZE_KiB"
-  parse_map_file $1
+  parse_map_file $MAP_FILE
   ) | column -s " ," -t
 }
 
@@ -67,7 +67,6 @@ split_image()
   do
     echo_exec dd ibs=1 skip=$START_ADDRESS count=$SIZE if="$IMAGE_FILE" of="${NAME}.bin"
   done
-
 }
 
 join_image()
-- 
2.1.4