]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
cast for %u
authorAlan T. DeKok <aland@freeradius.org>
Mon, 30 Nov 2015 20:01:23 +0000 (15:01 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 30 Nov 2015 20:01:23 +0000 (15:01 -0500)
src/main/exec.c

index d8a73c300a51a58dfa6e86faf02586e9c31d1c68..77fdd2e386fbe613b20d6bcc8dc2ace478224a11 100644 (file)
@@ -436,7 +436,7 @@ int radius_readfrom_program(int fd, pid_t pid, int timeout,
                rcode = select(fd + 1, &fds, NULL, NULL, &wake);
                if (rcode == 0) {
                too_long:
-                       DEBUG("Child PID %u is taking too much time: forcing failure and killing child.", pid);
+                       DEBUG("Child PID %u is taking too much time: forcing failure and killing child.", (unsigned int) pid);
                        kill(pid, SIGTERM);
                        close(fd); /* should give SIGPIPE to child, too */