From f43de0df19567d5d312cb722a83ee709d791bde6 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Jan=20G=C3=B6rig?= <jgorig@redhat.com>
Date: Thu, 2 Jun 2011 12:22:31 +0200
Subject: [PATCH] Added 'vm_swap' variable nullifying. Thanks to KOSAKI
 Motohiro.

Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=532668
---
 proc/readproc.c | 1 +
 1 file changed, 1 insertion(+)

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
 
-- 
2.40.0