[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH libvirt 2/3] build: fix output of pid values



On 04/20/2012 07:13 AM, Marc-André Lureau wrote:
> Fix a few more places where pid_t is printed with wrong type
> ---
>  src/conf/domain_audit.c |    4 ++--
>  src/conf/domain_conf.c  |    4 ++--
>  src/util/command.c      |    2 +-
>  src/util/virpidfile.c   |    2 +-
>  4 files changed, 6 insertions(+), 6 deletions(-)
> 

> +++ b/src/util/command.c
> @@ -2399,7 +2399,7 @@ void
>  virPidAbort(pid_t pid)
>  {
>      /* Not yet ported to mingw.  Any volunteers?  */
> -    VIR_DEBUG("failed to reap child %d, abandoning it", pid);
> +    VIR_DEBUG("failed to reap child %lldd, abandoning it", (long long)pid);

Typo (extra 'd').  ACK with that fixed, and pushed.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]