summaryrefslogtreecommitdiff
path: root/include/image.h
diff options
context:
space:
mode:
authorKhalid Aziz <khalid@gonehiking.org>2013-07-25 16:21:09 -0600
committerSimon Horman <horms@verge.net.au>2013-07-26 11:35:18 +0900
commit5f32e0d2d693f46825345f589ee11fa439a4ca12 (patch)
treea96be53ddce033980f05d6c7fe6a0f5c6104c02e /include/image.h
parent91e34163d316770930a1323d688e6b6fbca92fcd (diff)
kexec -p fails on kernel versions of form x.y
"kexec -p" fails to load kernels with version of the form x.y instead of x.y.z with an error message similar to "Unsupported utsname.release: 3.10-1-amd64". Code in kernel_version() also checks the wrong variable name for error return value from strtoul() for "minor" and "patch", and hence possibly missing a real error. These changes fix both of these problems. Signed-off-by: Khalid Aziz <khalid@gonehiking.org> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include/image.h')
0 files changed, 0 insertions, 0 deletions