Remove misleading indentation

GCC 6.0+ warns on misleading indentation, so fix it.

winsup/cygserver/ChangeLog
* sysv_msg.cc (msgsnd): Fix misleading indentation.
* sysv_msg.cc (msgrcv): Ditto.
* sysv_sem.cc (semop): Ditto.

Signed-off-by: Peter Foley <pefoley2@pefoley.com>
This commit is contained in:
Peter Foley 2016-03-21 13:15:44 -04:00 committed by Corinna Vinschen
parent 08537d88f6
commit 6699e21ffb
2 changed files with 6 additions and 3 deletions

View File

@ -733,7 +733,8 @@ msgsnd(struct thread *td, struct msgsnd_args *uap)
if (error != 0) {
DPRINTF(("msgsnd: interrupted system call\n"));
#ifdef __CYGWIN__
if (error != EIDRM)
if (error == EIDRM)
goto done2;
#endif /* __CYGWIN__ */
error = EINTR;
goto done2;
@ -1089,7 +1090,8 @@ msgrcv(struct thread *td, struct msgrcv_args *uap)
if (error != 0) {
DPRINTF(("msgrcv: interrupted system call\n"));
#ifdef __CYGWIN__
if (error != EIDRM)
if (error == EIDRM)
goto done2;
#endif /* __CYGWIN__ */
error = EINTR;
goto done2;

View File

@ -1177,7 +1177,8 @@ semop(struct thread *td, struct semop_args *uap)
*/
if (error != 0) {
#ifdef __CYGWIN__
if (error != EIDRM)
if (error == EIDRM)
goto done2;
#endif /* __CYGWIN__ */
error = EINTR;
goto done2;