]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Program name isn't available here
authorAlan T. DeKok <aland@freeradius.org>
Tue, 21 Jun 2011 10:26:34 +0000 (12:26 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 21 Jun 2011 10:26:34 +0000 (12:26 +0200)
Will fix it later

src/main/exec.c

index 153b40bf657956cd09c5ddd4ae69f0b72df82fc7..196cdfc29b65d43c62e0c559ceda51e054d2248e 100644 (file)
@@ -470,7 +470,7 @@ int radius_readfrom_program(int fd, pid_t pid, int timeout, char *answer, int le
                rcode = select(fd + 1, &fds, NULL, NULL, &wake);
                if (rcode == 0) {
                too_long:
-                       radlog(L_ERR, "Child PID %u (%s) is taking too much time: forcing failure and killing child.", pid, argv[0]);
+                       radlog(L_ERR, "Child PID %u is taking too much time: forcing failure and killing child.", pid);
                        kill(pid, SIGTERM);
                        close(fd); /* should give SIGPIPE to child, too */