Some minor cleanups for audit_log_lost() messages. Signed-off-by: Chris Wright <[EMAIL PROTECTED]>
===== kernel/audit.c 1.7 vs edited ===== --- 1.7/kernel/audit.c 2005-01-25 14:35:07 -08:00 +++ edited/kernel/audit.c 2005-01-25 14:35:54 -08:00 @@ -160,7 +160,7 @@ static void audit_panic(const char *mess printk(KERN_ERR "audit: %s\n", message); break; case AUDIT_FAIL_PANIC: - panic(message); + panic("audit: %s\n", message); break; } } @@ -663,10 +663,10 @@ struct audit_buffer *audit_log_start(str if (!ab) ab = kmalloc(sizeof(*ab), GFP_ATOMIC); - if (!ab) - audit_log_lost("audit: out of memory in audit_log_start"); - if (!ab) + if (!ab) { + audit_log_lost("out of memory in audit_log_start"); return NULL; + } atomic_inc(&audit_backlog); skb_queue_head_init(&ab->sklist); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/