On Mon, May 23, 2016 at 12:12:21PM +0300, Roman Kagan wrote:
On Sat, May 21, 2016 at 01:14:40PM +0100, Richard W.M. Jones wrote:
> + path = safe_asprintf (g, "/proc/%d/status", getpid ());
Why not "/proc/self/status"?
Hmm indeed why not :-(
I will fix it ...
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html