File: fixed-mips-build.patch

package info (click to toggle)
falcosecurity-libs 0.20.0-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 23,732 kB
  • sloc: ansic: 532,812; cpp: 100,792; python: 1,490; sh: 532; makefile: 195
file content (19 lines) | stat: -rw-r--r-- 504 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/driver/syscall_table.c b/driver/syscall_table.c
index 8f4e9de..3832655 100644
--- a/driver/syscall_table.c
+++ b/driver/syscall_table.c
@@ -7,13 +7,13 @@ This file is dual licensed under either the MIT or GPL 2. See MIT.txt
 or GPL2.txt for full copies of the license.
 
 */
 
 #include "ppm_events_public.h"
 
-#if defined(__KERNEL__) && defined(__mips__)
+#if ! defined(__KERNEL__) && defined(__mips__)
 #define SYSCALL_TABLE_ID0 __NR_Linux
 #else
 #define SYSCALL_TABLE_ID0 0
 #endif