poweroff: fix cmd_poweroff() arguments type
PATCH 1/1 poweroff: fix cmd_poweroff() arguments type
This fixes a bug introduced with:
commit d5efef69b6449edcf44f45372c42dba861c35537
Author: Antony Pavlov <[email protected]> Date: Wed Jun 13 23:43:07 2012 +0400
add 'poweroff' command
Signed-off-by Antony Pavlov <[email protected]>
Signed-off-by Sascha Hauer <[email protected]>
Signed-off-by Antony Pavlov <[email protected]>
--- commands/poweroff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
commands/poweroff.c +1 -1
@@ -23,7 +23,7 @@#include <common.h> #include <command.h> -static int cmd_poweroff (struct command *cmdtp,int argc,char *argv[]) +static int cmd_poweroff (int argc,char *argv[]) {poweroff ();
Signature · 7 lines
1.7.10 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Quoted 5 lines · Antony Pavlov
This fixes a bug introduced with:
commit
d5efef69b6449edcf44f45372c42dba861c35537Author: Antony Pavlov <[email protected]> Date: Wed Jun 13 23:43:07 2012 +0400
Squashed into the commit breaking it.
Thanks
Sascha
Quoted 33 lines
add 'poweroff' command
Signed-off-by Antony Pavlov <[email protected]>Signed-off-by Sascha Hauer <[email protected]>Signed-off-by Antony Pavlov <[email protected]>--- commands/poweroff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)commands/poweroff.c +1
-1@@ -23,7 +23,7 @@#include <common.h> #include <command.h> -static int cmd_poweroff (struct command *cmdtp,int argc,char *argv[]) +static int cmd_poweroff (int argc,char *argv[]) {poweroff ();Signature · 7 lines
1.7.10 _______________________________________________ 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