aboutsummaryrefslogtreecommitdiffstats
path: root/system.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2000-08-09 09:50:29 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2000-08-09 09:50:29 +0000
commit1645d61018c24013525f3953613aaea56714bab4 (patch)
treeddf01503c9b524efbe08b2887ab9b9f0bed1dc55 /system.c
parent7ff246c0458df37567dcefebfd9a720f9b98cdb7 (diff)
downloadlcd4linux-1645d61018c24013525f3953613aaea56714bab4.tar.gz
[lcd4linux @ 2000-08-09 09:50:29 by reinelt]
opened 0.98 development removed driver-specific signal-handlers added 'quit'-function to driver structure added global signal-handler git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@61 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'system.c')
-rw-r--r--system.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/system.c b/system.c
index 246b634..97ea6ec 100644
--- a/system.c
+++ b/system.c
@@ -1,4 +1,4 @@
-/* $Id: system.c,v 1.13 2000/07/31 10:43:44 reinelt Exp $
+/* $Id: system.c,v 1.14 2000/08/09 09:50:29 reinelt Exp $
*
* system status retreivement
*
@@ -20,6 +20,13 @@
*
*
* $Log: system.c,v $
+ * Revision 1.14 2000/08/09 09:50:29 reinelt
+ *
+ * opened 0.98 development
+ * removed driver-specific signal-handlers
+ * added 'quit'-function to driver structure
+ * added global signal-handler
+ *
* Revision 1.13 2000/07/31 10:43:44 reinelt
*
* some changes to support kernel-2.4 (different layout of various files in /proc)
@@ -511,7 +518,7 @@ int Disk (int *r, int *w)
unsigned long w1, w2, w3, w4;
p=strstr(buffer, "disk_rblk");
if (p==NULL) {
- fprintf (stderr, "parse(/proc/stat) failed: no 'disk_rblk' line\n");
+ fprintf (stderr, "parse(/proc/stat) failed: neither 'disk_io' nor 'disk_rblk' found\n");
fd=-1;
return -1;
}