]> granicus.if.org Git - procps-ng/commitdiff
Added 'vm_swap' variable nullifying.
authorJan Görig <jgorig@redhat.com>
Thu, 2 Jun 2011 10:22:31 +0000 (12:22 +0200)
committerJan Görig <jgorig@redhat.com>
Thu, 2 Jun 2011 10:22:31 +0000 (12:22 +0200)
Thanks to KOSAKI Motohiro.

Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=532668

proc/readproc.c

index b96d0a45823e17b8c21a28df4f35d0a6815b12d3..f71c514c56b6da96fb928b5f1f9fe4f330ffd3a6 100644 (file)
@@ -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