[LTP] [PATCH 6/7] openposix: mq_timedreceive: Silence warning
Cyril Hrubis
chrubis@suse.cz
Mon Jun 20 11:21:45 CEST 2022
We do not use the exit value from the child at all, but that's not a
reason to produce warnings.
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
.../conformance/interfaces/mq_timedreceive/5-3.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/5-3.c b/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/5-3.c
index a843c13ee..d79d9720d 100644
--- a/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/5-3.c
+++ b/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/5-3.c
@@ -110,5 +110,6 @@ int main(void)
sleep(1); /* give time to parent to set up handler */
/* send signal to parent */
kill(getppid(), SIGABRT);
+ return 0;
}
}
--
2.35.1
More information about the ltp
mailing list