diff options
| author | Chris Wright <chrisw@osdl.org> | 2005-02-01 16:31:01 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-02-01 16:31:01 -0800 |
| commit | 7340ad67c3522b37a3e411a08e4aa370a8163aec (patch) | |
| tree | 53cd3e5253f29912a795894b55c5598717b669a4 /kernel | |
| parent | be875f828bcf48e7bb909727fcbb72b70d8e076b (diff) | |
[PATCH] some minor cleanups for audit_log_lost() messages
Some minor cleanups for audit_log_lost() messages.
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/audit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/audit.c b/kernel/audit.c index 283d1baec6c4..480b6eaa0675 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -160,7 +160,7 @@ static void audit_panic(const char *message) 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(struct audit_context *ctx) 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); |
