[PATCH] kaudit_thread return val
Stephen Hemminger
shemminger at osdl.org
Tue Jan 10 22:01:16 UTC 2006
Fix warning because kaudit_thread() is not returning a value.
This is in current linux-2.6.git.
Signed-off-by: Stephen Hemminger <shemminger at osdl.org>
--- skge-2.6.orig/kernel/audit.c
+++ skge-2.6/kernel/audit.c
@@ -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,
More information about the Linux-audit
mailing list