Skip to contentSkip to conversation

commands: Fix memtest return value

PATCH Applied Christian Hemp 2 participants 2 messages Sep 2, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 commands: Fix memtest return value

---
 commands/memtest.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
commands/memtest.c +1 -1
index d2a1487..c82badc 100644
@@ -236,7 +236,7 @@ out:
 		return 1;
 	} else {
 		printf("Memtest successful.\n");
-		return 1;
+		return 0;
 	}
 }
 
Signature · 7 lines
1.7.0.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 1 line · Christian Hemp

Applied, thanks

Sascha

Quoted 26 lines
---
 commands/memtest.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
commands/memtest.c +1 -1
index d2a1487..c82badc 100644
@@ -236,7 +236,7 @@ out:
 		return 1;
 	} else {
 		printf("Memtest successful.\n");
-		return 1;
+		return 0;
 	}
 }
 
Signature · 7 lines
1.7.0.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox