--- xosview-1.7.1/linux/swapmeter.cc.orig	Wed Mar 10 23:27:14 1999
+++ xosview-1.7.1/linux/swapmeter.cc	Wed Mar 10 23:49:05 1999
@@ -92,15 +92,10 @@
     meminfo.getline(buf, 256);
     istrstream line(buf, 256);
 
-    if(!strncmp("SwapTotal", buf, strlen("SwapTotal")))
-        line >> ignore >> total_;
-
-    if(!strncmp("SwapFree", buf, strlen("SwapFree")))
-        line >> ignore >> fields_[1];
+    if(!strncmp("Swap:", buf, strlen("Swap:")))
+        line >> ignore >> total_ >> fields_[0] >> fields_[1];
   }
   
-  fields_[0] = total_ - fields_[1];
-
   if ( total_ == 0 ){
     total_ = 1;
     fields_[0] = 0;
