[PATCH] kaudit_thread return val

From: Stephen Hemminger
Date: Tue Jan 10 2006 - 17:00:16 EST


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

Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxx>

--- 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,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/