diff options
author | Rostislav Skudnov <rostislav@tuxera.com> | 2018-01-22 15:57:14 +0000 |
---|---|---|
committer | Eryu Guan <eguan@redhat.com> | 2018-01-24 11:50:08 +0800 |
commit | 57b7c3bac421bae78e8297ecb5f2eca3daf16493 (patch) | |
tree | 541a0dc664b7a71f5af165c9bdd0c3b0758c56e2 | |
parent | 836ed899ae22aef23380327762007ed4684fd4ff (diff) | |
download | xfstests-57b7c3bac421bae78e8297ecb5f2eca3daf16493.tar.gz |
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 <rostislav@tuxera.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <eguan@redhat.com>
-rw-r--r-- | ltp/doio.c | 2 | ||||
-rw-r--r-- | ltp/growfiles.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ltp/doio.c b/ltp/doio.c index b937718756..939a1eabf3 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 ad1ecdf5df..951b926650 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: |