From: Rostislav Skudnov Date: Mon, 22 Jan 2018 15:57:14 +0000 (+0000) Subject: doio, growfiles: Use standard signal name SIGCHLD instead of SIGCLD X-Git-Tag: v2022.05.01~1687 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=57b7c3bac421bae78e8297ecb5f2eca3daf16493;p=xfstests-dev.git doio, growfiles: Use standard signal name SIGCHLD instead of SIGCLD SIGCLD is synonymous with SIGCHLD, but the former is non-standard and not supported by some C libraries such as musl. Signed-off-by: Rostislav Skudnov Reviewed-by: Christoph Hellwig Signed-off-by: Eryu Guan --- diff --git a/ltp/doio.c b/ltp/doio.c index b9377187..939a1eab 100644 --- a/ltp/doio.c +++ b/ltp/doio.c @@ -362,7 +362,7 @@ char **argv; case SIGTSTP: case SIGSTOP: case SIGCONT: - case SIGCLD: + case SIGCHLD: case SIGBUS: case SIGSEGV: case SIGQUIT: diff --git a/ltp/growfiles.c b/ltp/growfiles.c index ad1ecdf5..951b9266 100644 --- a/ltp/growfiles.c +++ b/ltp/growfiles.c @@ -1389,7 +1389,7 @@ set_sig() #ifdef SIGRESTART case SIGRESTART: #endif /* SIGRESTART */ - case SIGCLD: + case SIGCHLD: break; default: