diff options
Diffstat (limited to 'meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0007-kexec.c-add-guard-around-ENOTSUP.patch')
| -rw-r--r-- | meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0007-kexec.c-add-guard-around-ENOTSUP.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0007-kexec.c-add-guard-around-ENOTSUP.patch b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0007-kexec.c-add-guard-around-ENOTSUP.patch index 3d44683936..0ae90016d0 100644 --- a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0007-kexec.c-add-guard-around-ENOTSUP.patch +++ b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0007-kexec.c-add-guard-around-ENOTSUP.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From e6bd7a1bcfbd3e54efc81fbd7d60d915f9af0632 Mon Sep 17 00:00:00 2001 | 1 | From 17e9da8d3c3c69f84e11c0457bd9fb8c4ee4274b Mon Sep 17 00:00:00 2001 |
| 2 | From: Andrea Adami <andrea.adami@gmail.com> | 2 | From: Andrea Adami <andrea.adami@gmail.com> |
| 3 | Date: Tue, 17 Apr 2018 11:35:14 +0200 | 3 | Date: Tue, 17 Apr 2018 11:35:14 +0200 |
| 4 | Subject: [PATCH] kexec.c: add guard around ENOTSUP | 4 | Subject: [PATCH] kexec.c: add guard around ENOTSUP |
| @@ -16,10 +16,10 @@ Signed-off-by: Andrea Adami <andrea.adami@gmail.com> | |||
| 16 | 1 file changed, 2 insertions(+) | 16 | 1 file changed, 2 insertions(+) |
| 17 | 17 | ||
| 18 | diff --git a/kexec/kexec.c b/kexec/kexec.c | 18 | diff --git a/kexec/kexec.c b/kexec/kexec.c |
| 19 | index 313d9fe..b5a8a1e 100644 | 19 | index 32ae56c..0764e85 100644 |
| 20 | --- a/kexec/kexec.c | 20 | --- a/kexec/kexec.c |
| 21 | +++ b/kexec/kexec.c | 21 | +++ b/kexec/kexec.c |
| 22 | @@ -1501,6 +1501,7 @@ int main(int argc, char *argv[]) | 22 | @@ -1517,6 +1517,7 @@ int main(int argc, char *argv[]) |
| 23 | */ | 23 | */ |
| 24 | case -EINVAL: | 24 | case -EINVAL: |
| 25 | case -ENOEXEC: | 25 | case -ENOEXEC: |
| @@ -27,7 +27,7 @@ index 313d9fe..b5a8a1e 100644 | |||
| 27 | /* | 27 | /* |
| 28 | * ENOTSUP can be unsupported image | 28 | * ENOTSUP can be unsupported image |
| 29 | * type or unsupported PE signature | 29 | * type or unsupported PE signature |
| 30 | @@ -1513,6 +1514,7 @@ int main(int argc, char *argv[]) | 30 | @@ -1529,6 +1530,7 @@ int main(int argc, char *argv[]) |
| 31 | * kernel bug | 31 | * kernel bug |
| 32 | */ | 32 | */ |
| 33 | case -ENOTSUP: | 33 | case -ENOTSUP: |
