Skip to contentSkip to conversation

86xx: Fix compilation warning in sys_eprom.c

PATCH New Jon Loeliger 2 participants 2 messages Jan 23, 2008 – Feb 7, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 86xx: Fix compilation warning in sys_eprom.c

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

---

Wolfgang,

Could you please apply this bugfix directly?

Thanks,
jdl

 board/freescale/common/sys_eeprom.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
board/freescale/common/sys_eeprom.c +1 -1
index 44c0978..c8e17d0 100644
@@ -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],
Signature · 1 line
1.5.4.rc0
#1 lore raw

PATCH 1/1 86xx: Fix compilation warning in sys_eprom.c

Quoted 21 lines · Jon Loeliger

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

---

Wolfgang,

Could you please apply this bugfix directly?

Thanks,
jdl

 board/freescale/common/sys_eeprom.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
board/freescale/common/sys_eeprom.c +0 -0
index 44c0978..c8e17d0 100644

board/freescale/common/sys_eeprom.c int mac_show(void) · line 85

Quoted 8 lines
board/freescale/common/sys_eeprom.c +1 -1
@@ -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],

Wolfgang,

Will you be able to apply this patch directly and
is it still on your list?

Thanks,
jdl