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

Eric Blake eblake at redhat.com
Wed May 2 18:48:07 UTC 2012


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 at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120502/4f4f38a0/attachment-0001.sig>


More information about the libvir-list mailing list