]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - client.c
Fix SIGUSR1 handling on Solaris.
[paraslash.git] / client.c
index 4ef458f8d676604f18a32758adf5621a88f4f942..1506f656c28eeaabff0d8213c0b45e597bebeb2e 100644 (file)
--- a/client.c
+++ b/client.c
@@ -77,7 +77,7 @@ int main(int argc, char *argv[])
        if (ret < 0) /* can not use PARA_LOG here */
                exit(EXIT_FAILURE);
        pcd->task.event_handler = client_event_handler;
-       ret = sched(&s);
+       ret = schedule(&s);
        if (ret < 0)
                PARA_ERROR_LOG("%s\n", PARA_STRERROR(-ret));
        client_close(pcd);