summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Hemp <c.hemp@phytec.de>2013-09-02 08:38:29 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-09-02 10:50:16 +0200
commit2c974b50d3c08a930be75645c21b8675accd0257 (patch)
treea296dd5fb57ae8b8ba3b82caf088ba9883c4557d
parentaaf6fdce2f3af09a85d600df9f47928e7d690e28 (diff)
downloadbarebox-2c974b50d3c08a930be75645c21b8675accd0257.tar.gz
barebox-2c974b50d3c08a930be75645c21b8675accd0257.tar.xz
commands: Fix memtest return value
Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--commands/memtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/memtest.c b/commands/memtest.c
index d2a148761b..c82badc951 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;
}
}