print_mq_attr: fix typo
* print_mq_attr.c (printmqattr): Print field name "mq_curmsgs" instead of "mq_curmsg". * tests/mq.expected: Update expected output.
This commit is contained in:
parent
34ccf12e07
commit
56b7651212
@ -49,7 +49,7 @@ MPERS_PRINTER_DECL(void, printmqattr, struct tcb *tcp, const long addr)
|
||||
return;
|
||||
tprints("{mq_flags=");
|
||||
tprint_open_modes(attr.mq_flags);
|
||||
tprintf(", mq_maxmsg=%ld, mq_msgsize=%ld, mq_curmsg=%ld}",
|
||||
tprintf(", mq_maxmsg=%ld, mq_msgsize=%ld, mq_curmsgs=%ld}",
|
||||
(long) attr.mq_maxmsg, (long) attr.mq_msgsize,
|
||||
(long) attr.mq_curmsgs);
|
||||
#else
|
||||
|
@ -1,4 +1,4 @@
|
||||
mq_open\("strace-mq.test", O_RDONLY\|O_CREAT, 0700, NULL\) += 0
|
||||
mq_getsetattr\(0, NULL, \{mq_flags=O_RDONLY, mq_maxmsg=[1-9][0-9]*, mq_msgsize=[1-9][0-9]*, mq_curmsg=0\}\) += 0
|
||||
mq_getsetattr\(0, \{mq_flags=O_RDONLY, mq_maxmsg=[1-9][0-9]*, mq_msgsize=[1-9][0-9]*, mq_curmsg=0\}, NULL\) += 0
|
||||
mq_getsetattr\(0, NULL, \{mq_flags=O_RDONLY, mq_maxmsg=[1-9][0-9]*, mq_msgsize=[1-9][0-9]*, mq_curmsgs=0\}\) += 0
|
||||
mq_getsetattr\(0, \{mq_flags=O_RDONLY, mq_maxmsg=[1-9][0-9]*, mq_msgsize=[1-9][0-9]*, mq_curmsgs=0\}, NULL\) += 0
|
||||
mq_unlink\("strace-mq.test"\) += 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user