From: Zhang Yanfei <[email protected]>

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 <[email protected]>
---
 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
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

Reply via email to