diff options
-rw-r--r-- | kernel/auditsc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index 145cbb79c4b9..f5e917e60ac2 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c | |||
@@ -995,7 +995,7 @@ static void audit_log_exit(struct audit_context *context, struct task_struct *ts | |||
995 | case AUDIT_IPC: { | 995 | case AUDIT_IPC: { |
996 | struct audit_aux_data_ipcctl *axi = (void *)aux; | 996 | struct audit_aux_data_ipcctl *axi = (void *)aux; |
997 | audit_log_format(ab, | 997 | audit_log_format(ab, |
998 | "ouid=%u ogid=%u mode=%x", | 998 | "ouid=%u ogid=%u mode=%#o", |
999 | axi->uid, axi->gid, axi->mode); | 999 | axi->uid, axi->gid, axi->mode); |
1000 | if (axi->osid != 0) { | 1000 | if (axi->osid != 0) { |
1001 | char *ctx = NULL; | 1001 | char *ctx = NULL; |
@@ -1014,7 +1014,7 @@ static void audit_log_exit(struct audit_context *context, struct task_struct *ts | |||
1014 | case AUDIT_IPC_SET_PERM: { | 1014 | case AUDIT_IPC_SET_PERM: { |
1015 | struct audit_aux_data_ipcctl *axi = (void *)aux; | 1015 | struct audit_aux_data_ipcctl *axi = (void *)aux; |
1016 | audit_log_format(ab, | 1016 | audit_log_format(ab, |
1017 | "qbytes=%lx ouid=%u ogid=%u mode=%x", | 1017 | "qbytes=%lx ouid=%u ogid=%u mode=%#o", |
1018 | axi->qbytes, axi->uid, axi->gid, axi->mode); | 1018 | axi->qbytes, axi->uid, axi->gid, axi->mode); |
1019 | break; } | 1019 | break; } |
1020 | 1020 | ||