Skip to contentSkip to conversation

kexec: fix a minor mistake in an error message

PATCH Applied Zhang Yanfei 2 participants 2 messages Mar 26, 2013 – Mar 27, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kexec: fix a minor mistake in an error message

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"
---
 kexec/kexec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kexec/kexec.c +1 -1
index f3928af..e6395f5 100644
@@ -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;
Signature · 6 lines
1.7.1

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Applied
#1 lore raw
Quoted 8 lines · Zhang Yanfei

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"

Thanks, applied.

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec