X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=userv.git;a=blobdiff_plain;f=overlord.c;fp=overlord.c;h=241bb0de60d00a2d1fc19b85e6cff15cc57e5739;hp=7f66c4ea354307512365fc9f1cdaf7e7fcaf96d4;hb=d9cedcfbd2194ff9046d71400cb7878085c26499;hpb=b7f37dd02319383deacc9595c0b8ab587242a540 diff --git a/overlord.c b/overlord.c index 7f66c4e..241bb0d 100644 --- a/overlord.c +++ b/overlord.c @@ -19,7 +19,6 @@ * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include #include #include #include @@ -28,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -94,7 +94,7 @@ static void sighandler_chld(int x) { (long)r,status); } else if (WEXITSTATUS(status)>12) { if (WEXITSTATUS(status)>24) - syslog(LOG_ERR,"call pid %ld exited with status %ld >24", + syslog(LOG_ERR,"call pid %ld exited with status %d >24", (long)r,WEXITSTATUS(status)); checkstalepipes(); }