* [PATCH] kexec: fix a minor mistake in an error message
@ 2013-03-26 13:48 Zhang Yanfei
2013-03-27 12:44 ` Simon Horman
0 siblings, 1 reply; 2+ messages in thread
From: Zhang Yanfei @ 2013-03-26 13:48 UTC (permalink / raw)
To: Simon Horman; +Cc: kexec@lists.infradead.org
From: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
when specified a wrong --entry option, it outputs the error message:
"Bad option value in --load-jump-back-helper=%s\n"
which is obviously wrong, it should be:
"Bad option value in --entry=%s\n"
Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
---
kexec/kexec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kexec/kexec.c b/kexec/kexec.c
index f3928af..e6395f5 100644
--- a/kexec/kexec.c
+++ b/kexec/kexec.c
@@ -1121,7 +1121,7 @@ int main(int argc, char *argv[])
entry = (void *)strtoul(optarg, &endptr, 0);
if (*endptr) {
fprintf(stderr,
- "Bad option value in --load-jump-back-helper=%s\n",
+ "Bad option value in --entry=%s\n",
optarg);
usage();
return 1;
--
1.7.1
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-03-27 12:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-26 13:48 [PATCH] kexec: fix a minor mistake in an error message Zhang Yanfei
2013-03-27 12:44 ` Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox