Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 585
b: refs/heads/master
c: c7fcb0e
h: refs/heads/master
i:
  583: f98cf4d
v: v3
  • Loading branch information
Peter Martuccelli authored and unknown committed Apr 29, 2005
1 parent 3f0d416 commit ea902f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d812ddbb89e323d054a7d073466225966c8350c8
refs/heads/master: c7fcb0ee74ef4cfdea02befacb55945c93641e44
4 changes: 2 additions & 2 deletions trunk/kernel/audit.c
Original file line number Diff line number Diff line change
Expand Up @@ -540,8 +540,8 @@ static inline int audit_log_drain(struct audit_buffer *ab)
if (!audit_pid) { /* No daemon */
int offset = ab->nlh ? NLMSG_SPACE(0) : 0;
int len = skb->len - offset;
printk(KERN_ERR "%*.*s\n",
len, len, skb->data + offset);
skb->data[offset + len] = '\0';
printk(KERN_ERR "%s\n", skb->data + offset);
}
kfree_skb(skb);
ab->nlh = NULL;
Expand Down

0 comments on commit ea902f1

Please sign in to comment.