X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Faudit.c;h=3b1289fadf06bc7594cc59334f4256eabadfa676;hb=6bfe5c9d6f4dcaa998f67e691359cf7b1c4b443d;hp=8c21625ef93823ebf7f9a574236d71e009e0bb58;hpb=9b4f2e9576658c4e52d95dc8d309f51b2e2db096;p=powerpc.git diff --git a/lib/audit.c b/lib/audit.c index 8c21625ef9..3b1289fadf 100644 --- a/lib/audit.c +++ b/lib/audit.c @@ -28,8 +28,10 @@ int audit_classify_syscall(int abi, unsigned syscall) switch(syscall) { case __NR_open: return 2; +#ifdef __NR_openat case __NR_openat: return 3; +#endif #ifdef __NR_socketcall case __NR_socketcall: return 4;