[U-Boot] [PATCH] Fix quoting bug introduced by commit 74de7aef

Wolfgang Denk wd at denx.de
Sat Apr 4 17:58:33 CEST 2009


Signed-off-by: Wolfgang Denk <wd at denx.de>
---
 board/pn62/cmd_pn62.c |    2 +-
 common/cmd_load.c     |    2 +-
 common/cmd_net.c      |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/board/pn62/cmd_pn62.c b/board/pn62/cmd_pn62.c
index b9f3bdb..ff5d63e 100644
--- a/board/pn62/cmd_pn62.c
+++ b/board/pn62/cmd_pn62.c
@@ -157,7 +157,7 @@ int do_loadpci (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 	char *s;
 
 	if (((s = getenv("autoscript")) != NULL) && (strcmp(s,"yes") == 0)) {
-		printf ("Running "source" command at addr 0x%08lX",
+		printf ("Running \"source\" command at addr 0x%08lX",
 			load_addr);
 
 		s = getenv ("autoscript_uname");
diff --git a/common/cmd_load.c b/common/cmd_load.c
index d5eaac7..2b5a66d 100644
--- a/common/cmd_load.c
+++ b/common/cmd_load.c
@@ -518,7 +518,7 @@ int do_load_serial_bin (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 		char *s;
 
 		if (((s = getenv("autoscript")) != NULL) && (strcmp(s,"yes") == 0)) {
-			printf ("Running "source" command at addr 0x%08lX",
+			printf ("Running \"source\" command at addr 0x%08lX",
 				load_addr);
 
 			s = getenv ("autoscript_uname");
diff --git a/common/cmd_net.c b/common/cmd_net.c
index 9bef7a2..92bbf85 100644
--- a/common/cmd_net.c
+++ b/common/cmd_net.c
@@ -224,7 +224,7 @@ netboot_common (proto_t proto, cmd_tbl_t *cmdtp, int argc, char *argv[])
 
 #ifdef CONFIG_SOURCE
 	if (((s = getenv("autoscript")) != NULL) && (strcmp(s,"yes") == 0)) {
-		printf ("Running "source" command at addr 0x%08lX",
+		printf ("Running \"source\" command at addr 0x%08lX",
 			load_addr);
 
 		s = getenv ("autoscript_uname");


More information about the U-Boot mailing list