Fix test-sysvsem on some platforms
commitcbce12d22b91a2393158ed7cb0a81bb26478dafd
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 2 Jan 2017 18:19:48 +0000 (2 16:19 -0200)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 2 Jan 2017 20:53:50 +0000 (2 18:53 -0200)
treece301d1a1736362fcb373f3f671595502eee23b3
parente082ac7533e75d3dbe5b949b09e843a65348d43b
Fix test-sysvsem on some platforms

The command IPC_STAT of semctl expects an union semun in its fourth
argument instead of struct semid_ds *.  This can cause failures on
powerpc32-linux-gnu.

Checked on x86_64-linux-gnu, i686-linux-gnu, and powerpc32-linux-gnu
(qemu system emulation).
ChangeLog
sysvipc/test-sysvsem.c