2006-01-10 22:01:42

by Stephen Hemminger

[permalink] [raw]
Subject: [PATCH] kaudit_thread return val

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

Signed-off-by: Stephen Hemminger <[email protected]>

--- 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,