Skip to contentSkip to conversation

Add spaces around the = in the fdt print format.

PATCH New Jerry Van Baren 1 participant 1 message Nov 24, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add spaces around the = in the fdt print format.

---

Better coding standards, y'know. This will also be important for the next patch.

gvb

 common/cmd_fdt.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
common/cmd_fdt.c +2 -2
index 629c9b4..4639126 100644
@@ -588,7 +588,7 @@ static int fdt_print(const char *pathp, char *prop, int depth)
 			printf("%s %s\n", pathp, prop);
 			return 0;
 		} else if (len > 0) {
-			printf("%s=", prop);
+			printf("%s = ", prop);
 			print_data (nodep, len);
 			printf("\n");
 			return 0;
@@ -649,7 +649,7 @@ static int fdt_print(const char *pathp, char *prop, int depth)
 						pathp);
 			} else {
 				if (level <= depth) {
-					printf("%s%s=",
+					printf("%s%s = ",
 						&tabs[MAX_LEVEL - level],
 						pathp);
 					print_data (nodep, len);
Signature · 1 line
1.5.3.4