From: Antony Pavlov <antonynpavlov@gmail.com>
To: barebox@lists.infradead.org
Subject: [PATCH] poweroff: fix cmd_poweroff() arguments type
Date: Fri, 15 Jun 2012 14:28:19 +0400 [thread overview]
Message-ID: <1339756099-17774-1-git-send-email-antonynpavlov@gmail.com> (raw)
This fixes a bug introduced with:
commit d5efef69b6449edcf44f45372c42dba861c35537
Author: Antony Pavlov <antonynpavlov@gmail.com>
Date: Wed Jun 13 23:43:07 2012 +0400
add 'poweroff' command
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
commands/poweroff.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commands/poweroff.c b/commands/poweroff.c
index cd5542b..ebb146c 100644
--- a/commands/poweroff.c
+++ b/commands/poweroff.c
@@ -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();
--
1.7.10
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2012-06-15 10:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-15 10:28 Antony Pavlov [this message]
2012-06-20 8:35 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1339756099-17774-1-git-send-email-antonynpavlov@gmail.com \
--to=antonynpavlov@gmail.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox