diff options
Diffstat (limited to 'kernel/audit.c')
-rw-r--r-- | kernel/audit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/audit.c b/kernel/audit.c index b617f69fd4e8..9e3e457ddfb5 100644 --- a/kernel/audit.c +++ b/kernel/audit.c | |||
@@ -1151,6 +1151,7 @@ static void audit_log_vformat(struct audit_buffer *ab, const char *fmt, | |||
1151 | goto out; | 1151 | goto out; |
1152 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args2); | 1152 | len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args2); |
1153 | } | 1153 | } |
1154 | va_end(args2); | ||
1154 | if (len > 0) | 1155 | if (len > 0) |
1155 | skb_put(skb, len); | 1156 | skb_put(skb, len); |
1156 | out: | 1157 | out: |