From cee455ee784890f73f75b53cb647bc563aac4d97 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 22 Aug 2024 17:04:21 +0100 Subject: [PATCH] missing.h: warn on missing __NR_finit_module Complain (somewhat) loudly if we don't have the syscall number, as the default cannot work. Signed-off-by: Emil Velikov Reviewed-by: Lucas De Marchi Link: https://github.com/kmod-project/kmod/pull/86 Signed-off-by: Lucas De Marchi --- shared/missing.h | 1 + 1 file changed, 1 insertion(+) diff --git a/shared/missing.h b/shared/missing.h index 7df62356..0c225a24 100644 --- a/shared/missing.h +++ b/shared/missing.h @@ -20,6 +20,7 @@ #endif #ifndef __NR_finit_module +# warning __NR_finit_module missing - kmod might not work correctly # define __NR_finit_module -1 #endif -- 2.47.3