mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] commands/crc: add a trailing newline after output of checksum
@ 2012-06-27  8:13 Uwe Kleine-König
  2012-06-27  8:25 ` Sascha Hauer
  0 siblings, 1 reply; 5+ messages in thread
From: Uwe Kleine-König @ 2012-06-27  8:13 UTC (permalink / raw)
  To: barebox; +Cc: kernel

Without this patch the next command prompt starts directly after the
calculated check sum. While at it also fix the coding style.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 commands/crc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/crc.c b/commands/crc.c
index df22941..81aa340 100644
--- a/commands/crc.c
+++ b/commands/crc.c
@@ -71,7 +71,7 @@ static int file_crc(char* filename, ulong start, ulong size, ulong *crc,
 		*total += now;
 	}
 
-	printf ("CRC32 for %s 0x%08lx ... 0x%08lx ==> 0x%08lx",
+	printf("CRC32 for %s 0x%08lx ... 0x%08lx ==> 0x%08lx\n",
 			filename, start, start + *total - 1, *crc);
 
 out_free:
-- 
1.7.10


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-07-17 18:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-27  8:13 [PATCH] commands/crc: add a trailing newline after output of checksum Uwe Kleine-König
2012-06-27  8:25 ` Sascha Hauer
2012-06-27  9:08   ` [PATCH] commands/crc: assert newline after output with big offsets Uwe Kleine-König
2012-07-17  8:23     ` Uwe Kleine-König
2012-07-17 18:42       ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox