diff options
Diffstat (limited to 'get_load.c')
-rw-r--r-- | get_load.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -641,7 +641,7 @@ GetLoadPoint(Widget w, XtPointer closure, XtPointer call_data) if ((vp = kstat_data_lookup(ksp, "avenrun_1min")) == NULL) xload_error("kstat_data_lookup failed:", strerror(errno)); - *loadavg = (double)vp->value.l / FSCALE; + *loadavg = (double)vp->value.ui32 / FSCALE; } #else /* not Solaris */ |