aboutsummaryrefslogtreecommitdiffstats
path: root/seti.c
diff options
context:
space:
mode:
authorreinelt <>2003-06-13 05:11:11 +0000
committerreinelt <>2003-06-13 05:11:11 +0000
commite5a6149a71d496eb1322fec19d4d7a89a476015f (patch)
tree5c941ec6a0e5df8da71556b432ca0247975d10d6 /seti.c
parent3cbab922117d3ed096cf33a5b8bd6c957f7a7a48 (diff)
downloadlcd4linux-e5a6149a71d496eb1322fec19d4d7a89a476015f.tar.gz
[lcd4linux @ 2003-06-13 05:11:10 by reinelt]
error message cosmetics
Diffstat (limited to 'seti.c')
-rw-r--r--seti.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/seti.c b/seti.c
index 20d7643..ede4b5e 100644
--- a/seti.c
+++ b/seti.c
@@ -1,4 +1,4 @@
-/* $Id: seti.c,v 1.7 2003/02/22 07:53:10 reinelt Exp $
+/* $Id: seti.c,v 1.8 2003/06/13 05:11:11 reinelt Exp $
*
* seti@home specific functions
*
@@ -20,6 +20,9 @@
*
*
* $Log: seti.c,v $
+ * Revision 1.8 2003/06/13 05:11:11 reinelt
+ * error message cosmetics
+ *
* Revision 1.7 2003/02/22 07:53:10 reinelt
* cfg_get(key,defval)
*
@@ -99,12 +102,12 @@ int Seti (double *perc, double *cput)
if (fd==-2) {
char *dir=cfg_get("SetiDir",NULL);
if (dir==NULL || *dir=='\0') {
- error ("%s: missing 'SetiDir' entry!\n", cfg_file());
+ error ("no 'SetiDir' entry in %s!\n", cfg_file());
fd=-1;
return -1;
}
if (strlen(dir)>sizeof(fn)-sizeof(STATEFILE)-2) {
- error ("%s: 'SetiDir' too long!\n", cfg_file());
+ error ("entry 'SetiDir' too long in %s!\n", cfg_file());
fd=-1;
return -1;
}