[PATCH 3/3] commands: clk_dump: use COMMAND_SUCCESS instead of 0 return code

Antony Pavlov antonynpavlov at gmail.com
Wed Oct 21 22:45:27 PDT 2015


Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
 commands/clk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/clk.c b/commands/clk.c
index 469d9b3..2bfdfdf 100644
--- a/commands/clk.c
+++ b/commands/clk.c
@@ -149,7 +149,7 @@ static int do_clk_dump(int argc, char *argv[])
 
 	clk_dump(verbose);
 
-	return 0;
+	return COMMAND_SUCCESS;
 }
 
 BAREBOX_CMD_HELP_START(clk_dump)
-- 
2.6.0




More information about the barebox mailing list