[U-Boot-Users] [PATCH] 86xx: Fix compilation warning in sys_eprom.c

Jon Loeliger jdl at jdl.com
Wed Jan 23 22:55:02 CET 2008


sys_eeprom.c:82:9: warning: unknown escape sequence '\/'

Signed-off-by: Jon Loeliger <jdl at freescale.com>
---

Wolfgang,

Could you please apply this bugfix directly?

Thanks,
jdl


 board/freescale/common/sys_eeprom.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/board/freescale/common/sys_eeprom.c b/board/freescale/common/sys_eeprom.c
index 44c0978..c8e17d0 100644
--- a/board/freescale/common/sys_eeprom.c
+++ b/board/freescale/common/sys_eeprom.c
@@ -79,7 +79,7 @@ int mac_show(void)
 	/* Show Build Date,
 	 * BCD date values, as YYMMDDhhmmss.
 	 */
-	printf("Date 20%02x\/%02x\/%02x %02x:%02x:%02x\n",
+	printf("Date 20%02x/%02x/%02x %02x:%02x:%02x\n",
 	       mac_data.date[0],
 	       mac_data.date[1],
 	       mac_data.date[2],
-- 
1.5.4.rc0





More information about the U-Boot mailing list