diff options
-rw-r--r-- | kernel/livepatch/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/livepatch/core.c b/kernel/livepatch/core.c index adca5cf07f7e..5fc98a1cc3c3 100644 --- a/kernel/livepatch/core.c +++ b/kernel/livepatch/core.c | |||
@@ -1036,7 +1036,7 @@ int klp_enable_patch(struct klp_patch *patch) | |||
1036 | 1036 | ||
1037 | if (!klp_have_reliable_stack()) { | 1037 | if (!klp_have_reliable_stack()) { |
1038 | pr_err("This architecture doesn't have support for the livepatch consistency model.\n"); | 1038 | pr_err("This architecture doesn't have support for the livepatch consistency model.\n"); |
1039 | return -ENOSYS; | 1039 | return -EOPNOTSUPP; |
1040 | } | 1040 | } |
1041 | 1041 | ||
1042 | 1042 | ||