[Skiboot] [PATCH] external/pflash: fix range printing

Cédric Le Goater clg at fr.ibm.com
Tue Jun 2 03:58:16 AEST 2015


Signed-off-by: Cédric Le Goater <clg at fr.ibm.com>
---
 external/pflash/pflash.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: skiboot.git/external/pflash/pflash.c
===================================================================
--- skiboot.git.orig/external/pflash/pflash.c
+++ skiboot.git/external/pflash/pflash.c
@@ -282,7 +282,7 @@ static void program_file(const char *fil
 		exit(1);
 	}
 	printf("About to program \"%s\" at 0x%08x..0x%08x !\n",
-	       file, start, size);
+	       file, start, start + size);
 	check_confirm();
 
 	if (dummy_run) {
@@ -339,7 +339,7 @@ static void do_read_file(const char *fil
 		exit(1);
 	}
 	printf("Reading to \"%s\" from 0x%08x..0x%08x !\n",
-	       file, start, size);
+	       file, start, start + size);
 
 	progress_init(size >> 8);
 	while(size) {



More information about the Skiboot mailing list