httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: svn commit: r742685 - /httpd/httpd/trunk/modules/mappers/mod_watchdog.c
Date Mon, 09 Feb 2009 19:25:38 GMT
On Mon, Feb 9, 2009 at 2:21 PM, <jim@apache.org> wrote:

> Author: jim
> Date: Mon Feb  9 19:21:25 2009
> New Revision: 742685
>
> URL: http://svn.apache.org/viewvc?rev=742685&view=rev
> Log:
> use pid_t consistantly
>
> Modified:
>    httpd/httpd/trunk/modules/mappers/mod_watchdog.c
>
> Modified: httpd/httpd/trunk/modules/mappers/mod_watchdog.c
> URL:
> http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_watchdog.c?rev=742685&r1=742684&r2=742685&view=diff
>
> ==============================================================================
> --- httpd/httpd/trunk/modules/mappers/mod_watchdog.c (original)
> +++ httpd/httpd/trunk/modules/mappers/mod_watchdog.c Mon Feb  9 19:21:25
> 2009
> @@ -127,9 +127,9 @@
>     if (w->is_running) {
>         watchdog_list_t *wl = w->callbacks;
>         ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, wd_server_conf->s,
> -                     "%sWatchdog (%s) running (%d)",
> +                     "%sWatchdog (%s) running (%" APR_PID_T_FMT ")",
>                      w->singleton ? "Singleton" : "",
> -                     w->name, getpid());
> +                     w->name, (pid_t)getpid());


Why is the cast to pid_t needed?

Mime
View raw message