diff options
Diffstat (limited to 'sysutils/xbattbar/files/patch-ab')
-rw-r--r-- | sysutils/xbattbar/files/patch-ab | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sysutils/xbattbar/files/patch-ab b/sysutils/xbattbar/files/patch-ab index a911d7528037..e69de29bb2d1 100644 --- a/sysutils/xbattbar/files/patch-ab +++ b/sysutils/xbattbar/files/patch-ab @@ -1,13 +0,0 @@ ---- xbattbar.c.old Mon Dec 31 03:32:04 2001 -+++ xbattbar.c Mon Dec 31 03:32:08 2001 -@@ -522,8 +522,8 @@ - int fd, r, p; - struct apm_info info; - -- if ((fd = open(APMDEV21, O_RDWR)) == -1 && -- (fd = open(APMDEV22, O_RDWR)) == -1) { -+ if ((fd = open(APMDEV21, O_RDONLY)) == -1 && -+ (fd = open(APMDEV22, O_RDONLY)) == -1) { - fprintf(stderr, "xbattbar: cannot open apm device\n"); - exit(1); - } |