diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/selinux/avc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/avc.c b/security/selinux/avc.c index ed6af12cdf43..d43bd6baeeaa 100644 --- a/security/selinux/avc.c +++ b/security/selinux/avc.c | |||
@@ -504,7 +504,7 @@ static inline void avc_print_ipv4_addr(struct audit_buffer *ab, __be32 addr, | |||
504 | __be16 port, char *name1, char *name2) | 504 | __be16 port, char *name1, char *name2) |
505 | { | 505 | { |
506 | if (addr) | 506 | if (addr) |
507 | audit_log_format(ab, " %s=" NIPQUAD_FMT, name1, NIPQUAD(addr)); | 507 | audit_log_format(ab, " %s=%pI4", name1, &addr); |
508 | if (port) | 508 | if (port) |
509 | audit_log_format(ab, " %s=%d", name2, ntohs(port)); | 509 | audit_log_format(ab, " %s=%d", name2, ntohs(port)); |
510 | } | 510 | } |