From: Jan Görig Date: Thu, 2 Jun 2011 10:22:31 +0000 (+0200) Subject: Added 'vm_swap' variable nullifying. X-Git-Tag: v3.3.0~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f43de0df19567d5d312cb722a83ee709d791bde6;p=procps-ng Added 'vm_swap' variable nullifying. Thanks to KOSAKI Motohiro. Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=532668 --- diff --git a/proc/readproc.c b/proc/readproc.c index b96d0a45..f71c514c 100644 --- a/proc/readproc.c +++ b/proc/readproc.c @@ -176,6 +176,7 @@ ENTER(0x220); P->vm_stack= 0; P->vm_exe = 0; P->vm_lib = 0; + P->vm_swap = 0; P->nlwp = 0; P->signal[0] = '\0'; // so we can detect it as missing for very old kernels