refactor headers, especially alltypes.h, and improve C++ ABI compat
[musl] / src / aio / aio_readwrite.c
index e4c95aa..666372d 100644 (file)
@@ -51,7 +51,7 @@ static void *io_thread(void *p)
 
        __aio_wake();
 
-       switch (cb->aio_sigevent.sigev_notify) {
+       switch (sev.sigev_notify) {
        case SIGEV_SIGNAL:
                notify_signal(&sev);
                break;