[PATCH] commands: Fix memtest return value

Christian Hemp c.hemp at phytec.de
Mon Sep 2 02:38:29 EDT 2013


Signed-off-by: Christian Hemp <c.hemp at phytec.de>
---
 commands/memtest.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/commands/memtest.c b/commands/memtest.c
index d2a1487..c82badc 100644
--- a/commands/memtest.c
+++ b/commands/memtest.c
@@ -236,7 +236,7 @@ out:
 		return 1;
 	} else {
 		printf("Memtest successful.\n");
-		return 1;
+		return 0;
 	}
 }
 
-- 
1.7.0.4




More information about the barebox mailing list