Skip to content

Commit

Permalink
syscalls/mq: don't use TWARN with tst_brk()
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Stancek <jstancek@redhat.com>
Acked-by: Petr Vorel <pvorel@suse.cz>
  • Loading branch information
jstancek authored and pevik committed Dec 5, 2018
1 parent 9f03c55 commit c3b6763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testcases/kernel/syscalls/utils/mq.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ static void cleanup_queue(mqd_t fd)

memset(&mqstat, 0, sizeof(mqstat));
if (mq_getattr(fd, &mqstat) == -1) {
tst_brk(TWARN, "mq_getattr() failed");
tst_brk(TBROK|TERRNO, "mq_getattr() failed");
return;
}

Expand Down

0 comments on commit c3b6763

Please sign in to comment.