summaryrefslogtreecommitdiffstats
path: root/source/a/procps/procinfo.gcc3.diff
blob: 96a3dbb19679a9369ffb04bc1690fc76d1dc888f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ./routines.c.orig	2001-02-24 15:30:45.000000000 -0800
+++ ./routines.c	2003-02-07 13:38:09.000000000 -0800
@@ -390,7 +390,7 @@
     unsigned int d, h, m, s;
     static char buf[22];
 
-    t = t * 100 / HZ;
+    t = t * 100. / HZ;
     d = (int) (t / 8640000);
     t = t - (long) (d * 8640000);
     h = (int) (t / 360000);