gwakeup: Fix uninitialized variable from previous commit

We really don't want to infloop here...
This commit is contained in:
Colin Walters 2013-01-25 12:06:04 -05:00
parent 090f874626
commit cbd7225e70

View File

@ -241,7 +241,7 @@ g_wakeup_signal (GWakeup *wakeup)
else
{
do
write (wakeup->fds[1], &one, 1);
res = write (wakeup->fds[1], &one, 1);
while (G_UNLIKELY (res == -1 && errno == EINTR));
}
}