[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]