kexec: fix a minor mistake in an error message
Subsystems (2)
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"Signed-off-by Zhang Yanfei <[email protected]>
--- kexec/kexec.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
kexec/kexec.c +1 -1
@@ -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
Simon Horman
AppliedQuoted 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"Signed-off-by Zhang Yanfei <[email protected]>
Thanks, applied.
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec