[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Simple fix to #434272?



Hi!

There seems to be a _very_ simple fix to #434272 - I have attached a
patch that _I_ guess would fix it. The reason that I am sending it here
and not to the bug is that I am not at all very sure about the proper
way to handle this (I am not a DD in any way.) and I am not 100% sure
that all is like it should with my patch.

(it is a one-line change.)

/Andreas
--- xfce4-taskmanager-0.4.0~rc2/src/xfce-taskmanager-linux.c	2006-08-23 20:05:42.000000000 +0200
+++ xfce4-taskmanager-0.4.0~rc2/src/xfce-taskmanager-linux-patched.c	2008-04-16 19:16:37.000000000 +0200
@@ -81,6 +81,8 @@
 			task.time = stime + utime;
 			task.old_time = task.time;
 			task.time_percentage = 0;
+			
+			task.rss=task.rss/1024;
 		}
 		task.uid = status.st_uid;
 		passwdp = getpwuid(task.uid);

Reply to: