USB: add driver for iowarrior devices.
[pandora-kernel.git] / lib / audit.c
index 8c21625..3b1289f 100644 (file)
@@ -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;