Steve Grubb 43fc17
diff -urp audit-1.7.9.orig/src/ausearch-report.c audit-1.7.9/src/ausearch-report.c
Steve Grubb 43fc17
--- audit-1.7.9.orig/src/ausearch-report.c	2008-10-24 13:49:39.000000000 -0400
Steve Grubb 43fc17
+++ audit-1.7.9/src/ausearch-report.c	2008-10-24 15:24:51.000000000 -0400
Steve Grubb 43fc17
@@ -63,7 +63,7 @@ static void output_interpreted_node(cons
Steve Grubb 43fc17
 static void interpret(char *name, char *val, int comma, int rtype);
Steve Grubb 43fc17
 
Steve Grubb 43fc17
 /* The machine based on elf type */
Steve Grubb 43fc17
-static int machine = 0;
Steve Grubb 43fc17
+static int machine = -1;
Steve Grubb 43fc17
 
Steve Grubb 43fc17
 /* The first syscall argument */
Steve Grubb 43fc17
 static unsigned long long a0;
Steve Grubb 43fc17
@@ -424,7 +424,7 @@ static void print_syscall(const char *va
Steve Grubb 43fc17
 	const char *sys;
Steve Grubb 43fc17
 	int ival;
Steve Grubb 43fc17
 
Steve Grubb 43fc17
-	if (machine <= 0) 
Steve Grubb 43fc17
+	if (machine < 0) 
Steve Grubb 43fc17
 		machine = audit_detect_machine();
Steve Grubb 43fc17
 	if (machine < 0) {
Steve Grubb 43fc17
 		printf("%s ", val);