]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - signal.c
Replace eof by error in receivers/filters/writers.
[paraslash.git] / signal.c
index 55499796e8ccd8ff73751182a796cd4006b63508..3d1883f5f4b65f0c01b7b8944c6afbdb0d5f717c 100644 (file)
--- a/signal.c
+++ b/signal.c
@@ -85,13 +85,13 @@ int para_reap_child(pid_t *pid)
        if (*pid < 0)
                return -ERRNO_TO_PARA_ERROR(errno);
        if (WIFEXITED(status))
-               PARA_DEBUG_LOG("child %i exited. Exit status: %i\n", *pid,
+               PARA_DEBUG_LOG("child %i exited. Exit status: %i\n", (int)*pid,
                        WEXITSTATUS(status));
        else if (WIFSIGNALED(status))
-               PARA_DEBUG_LOG("child %i was killed by signal %i\n", *pid,
+               PARA_DEBUG_LOG("child %i was killed by signal %i\n", (int)*pid,
                        WTERMSIG(status));
        else
-               PARA_WARNING_LOG("child %i terminated abormally\n", *pid);
+               PARA_WARNING_LOG("child %i terminated abormally\n", (int)*pid);
        return 1;
 }