aboutsummaryrefslogtreecommitdiffstats
path: root/parport.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-08-24 05:17:58 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-08-24 05:17:58 +0000
commit019808ae3222f7dc718b8a66d999aabac9f633ee (patch)
tree072381f83d0966b48fb518505e693e326d9b72ce /parport.c
parent86a3dd8e35847debfdce7c65e52b8ffd8913689a (diff)
downloadlcd4linux-019808ae3222f7dc718b8a66d999aabac9f633ee.tar.gz
[lcd4linux @ 2003-08-24 05:17:58 by reinelt]
liblcd4linux patch from Patrick Schemitz git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@228 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r--parport.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/parport.c b/parport.c
index b638cea..5c9956d 100644
--- a/parport.c
+++ b/parport.c
@@ -1,4 +1,4 @@
-/* $Id: parport.c,v 1.6 2003/08/22 03:45:09 reinelt Exp $
+/* $Id: parport.c,v 1.7 2003/08/24 05:17:58 reinelt Exp $
*
* generic parallel port handling
*
@@ -20,6 +20,9 @@
*
*
* $Log: parport.c,v $
+ * Revision 1.7 2003/08/24 05:17:58 reinelt
+ * liblcd4linux patch from Patrick Schemitz
+ *
* Revision 1.6 2003/08/22 03:45:09 reinelt
* bug in parallel port code fixed, more icons stuff
*
@@ -144,11 +147,11 @@ int parport_open (void)
#ifdef USE_OLD_UDELAY
s=cfg_get ("Delay",NULL);
if (s==NULL || *s=='\0') {
- error ("parport: no 'Delay' entry in %s", cfg_file());
+ error ("parport: no 'Delay' entry in %s", cfg_source());
return -1;
}
if ((loops_per_usec=strtol(s, &e, 0))==0 || *e!='\0') {
- error ("parport: bad delay '%s' in %s", s, cfg_file());
+ error ("parport: bad delay '%s' in %s", s, cfg_source());
return -1;
}
#else
@@ -157,7 +160,7 @@ int parport_open (void)
s=cfg_get ("Port",NULL);
if (s==NULL || *s=='\0') {
- error ("parport: no 'Port' entry in %s", cfg_file());
+ error ("parport: no 'Port' entry in %s", cfg_source());
return -1;
}
PPdev=NULL;
@@ -166,7 +169,7 @@ int parport_open (void)
Port=0;
PPdev=s;
#else
- error ("parport: bad Port '%s' in %s", s, cfg_file());
+ error ("parport: bad Port '%s' in %s", s, cfg_source());
return -1;
#endif
}