syscalls/write05: Use volatile int var for signal handler
PATCH 1/1 syscalls/write05: Use volatile int var for signal handler
Signed-off-by Avinesh Kumar <[email protected]>
--- testcases/kernel/syscalls/write/write05.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/syscalls/write/write05.c +1 -1
@@ -45,7 +45,7 @@ static struct tcase { {&pipefd[1], &buf, sizeof(buf), EPIPE}, }; -static int sigpipe_cnt; +static volatile int sigpipe_cnt;static void sighandler (int sig) {
Signature · 5 lines
2.41.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi!
Applied, thanks.
Signature · 5 lines
Cyril Hrubis [email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp