diff options
author | Dmitry V. Levin <ldv@strace.io> | 2021-01-27 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2021-01-27 08:00:00 +0000 |
commit | fb26082515ad4a5d896f66877945a0b5ce789a03 (patch) | |
tree | 335da825c0468b55e4ff675e69eec3ff7fffae6f | |
parent | fa199d82f6b5b85437f09cf66211f7237d17834a (diff) | |
download | strace-fb26082515ad4a5d896f66877945a0b5ce789a03.tar.gz |
Stop using PRINT_FIELD_NUMERIC_UMODE_T
* open.c (print_open_how): Use PRINT_FIELD_OBJ_U instead of
PRINT_FIELD_NUMERIC_UMODE_T.
* ipc_msgctl.c (print_ipc_perm): Likewise.
* ipc_semctl.c (print_ipc_perm): Likewise.
* ipc_shmctl.c (print_ipc_perm): Likewise.
-rw-r--r-- | ipc_msgctl.c | 2 | ||||
-rw-r--r-- | ipc_semctl.c | 2 | ||||
-rw-r--r-- | ipc_shmctl.c | 2 | ||||
-rw-r--r-- | open.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/ipc_msgctl.c b/ipc_msgctl.c index e9f81e5a1..340b3f93c 100644 --- a/ipc_msgctl.c +++ b/ipc_msgctl.c @@ -33,7 +33,7 @@ print_ipc_perm(const typeof_field(msqid_ds_t, msg_perm) *const p, { PRINT_FIELD_UID("{", *p, uid); PRINT_FIELD_UID(", ", *p, gid); - PRINT_FIELD_NUMERIC_UMODE_T(", ", *p, mode); + PRINT_FIELD_OBJ_U(", ", *p, mode, print_numeric_ll_umode_t); if (cmd != IPC_SET) { PRINT_FIELD_U(", ", *p, key); PRINT_FIELD_UID(", ", *p, cuid); diff --git a/ipc_semctl.c b/ipc_semctl.c index 454d741d7..b95e0cf0e 100644 --- a/ipc_semctl.c +++ b/ipc_semctl.c @@ -36,7 +36,7 @@ print_ipc_perm(const typeof_field(semid_ds_t, sem_perm) *const p, { PRINT_FIELD_UID("{", *p, uid); PRINT_FIELD_UID(", ", *p, gid); - PRINT_FIELD_NUMERIC_UMODE_T(", ", *p, mode); + PRINT_FIELD_OBJ_U(", ", *p, mode, print_numeric_ll_umode_t); if (cmd != IPC_SET) { PRINT_FIELD_U(", ", *p, key); PRINT_FIELD_UID(", ", *p, cuid); diff --git a/ipc_shmctl.c b/ipc_shmctl.c index b9e1e010f..51fa995cb 100644 --- a/ipc_shmctl.c +++ b/ipc_shmctl.c @@ -37,7 +37,7 @@ print_ipc_perm(const typeof_field(shmid_ds_t, shm_perm) *const p, { PRINT_FIELD_UID("{", *p, uid); PRINT_FIELD_UID(", ", *p, gid); - PRINT_FIELD_NUMERIC_UMODE_T(", ", *p, mode); + PRINT_FIELD_OBJ_U(", ", *p, mode, print_numeric_ll_umode_t); if (cmd != IPC_SET) { PRINT_FIELD_U(", ", *p, key); PRINT_FIELD_UID(", ", *p, cuid); @@ -136,7 +136,7 @@ print_open_how(struct tcb *tcp, kernel_ulong_t addr, kernel_ulong_t size) PRINT_FIELD_OBJ_VAL("{", how, flags, tprint_open_modes64); if ((how.flags & (O_CREAT | __O_TMPFILE)) || how.mode) { - PRINT_FIELD_NUMERIC_UMODE_T(", ", how, mode); + PRINT_FIELD_OBJ_U(", ", how, mode, print_numeric_ll_umode_t); } PRINT_FIELD_FLAGS(", ", how, resolve, open_resolve_flags, "RESOLVE_???"); |