0fd5652fa3
Submitted by Joshua Stein <jcs@rt.fm>. GKrellM is a single process stack of system monitors which supports applying themes to match its appearance to your window manager, Gtk, or any other theme.
14 lines
430 B
Plaintext
14 lines
430 B
Plaintext
$OpenBSD: patch-src_apm_c,v 1.1.1.1 2001/02/15 21:37:42 naddy Exp $
|
|
--- src/apm.c.orig Fri Jan 19 15:10:38 2001
|
|
+++ src/apm.c Thu Feb 15 18:08:13 2001
|
|
@@ -142,9 +142,6 @@ read_netbsd_apm_data()
|
|
int f, r;
|
|
struct apm_power_info info;
|
|
|
|
- if (!GK.second_tick) /* No need to reap apm more often */
|
|
- return;
|
|
-
|
|
if ((f = open(APMDEV, O_RDONLY)) == -1) return;
|
|
r = ioctl(f, APM_IOC_GETPOWER, &info);
|
|
close(f);
|