diff options
author | reinelt <> | 2003-08-24 05:17:58 +0000 |
---|---|---|
committer | reinelt <> | 2003-08-24 05:17:58 +0000 |
commit | e349ac4e73b4916c766721f22b1fbb667d25d0be (patch) | |
tree | 072381f83d0966b48fb518505e693e326d9b72ce /parport.c | |
parent | d36f45332730bf7055a51d940a6db816b29489ba (diff) | |
download | lcd4linux-e349ac4e73b4916c766721f22b1fbb667d25d0be.tar.gz |
[lcd4linux @ 2003-08-24 05:17:58 by reinelt]
liblcd4linux patch from Patrick Schemitz
Diffstat (limited to 'parport.c')
-rw-r--r-- | parport.c | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -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 } |