]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: fix output of pid values
authorEric Blake <eblake@redhat.com>
Fri, 10 Feb 2012 23:52:01 +0000 (16:52 -0700)
committerEric Blake <eblake@redhat.com>
Fri, 2 Mar 2012 13:57:57 +0000 (06:57 -0700)
commit355ec28167cb1826d7a5d9e8fc0cb3126a96f20d
tree8e81739732b241b7f2cd328b813c1ab6ba3ba085
parent3e2c3d8f6d5ca4a6135101cda3e73c51304af683
build: fix output of pid values

Nuke the last vestiges of printing pid_t values with the wrong
types, at least in code compiled on mingw64.  There may be other
places, but for now they are only compiled on systems where the
existing %d doesn't trigger gcc warnings.

* src/rpc/virnetsocket.c (virNetSocketNew): Use %lld and casting,
rather than assuming any particular int type for pid_t.
* src/util/command.c (virCommandRunAsync, virPidWait)
(virPidAbort): Likewise.
(verify): Drop a now stale assertion.
src/rpc/virnetsocket.c
src/util/command.c