Skip to contentSkip to conversation

kaudit_thread return val

PATCH New Stephen Hemminger 1 participant 1 message Jan 10, 2006 Audit

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kaudit_thread return val

Fix warning because kaudit_thread() is not returning a value. This is in current linux-2.6.git.

kernel/audit.c +2 -0
@@ -300,6 +300,8 @@ static int kauditd_thread(void *dummy)
 			remove_wait_queue(&kauditd_wait, &wait);
 		}
 	}
+
+	return 0;
 }
 
 void audit_send_reply(int pid, int seq, int type, int done, int multi,