version 1.11 | | version 1.12 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: init.c,v 1.11 2001/12/18 08:58:03 garbled Exp $"; | | * "$Id: init.c,v 1.12 2001/12/18 20:17:57 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
char filename[MAX_BUF]; | | char filename[MAX_BUF]; |
FILE *fp; | | FILE *fp; |
| | |
sprintf(filename, "%s/clockdata", settings.datadir); | | sprintf(filename, "%s/clockdata", settings.localdir); |
if ((fp = fopen(filename, "w")) == NULL) { | | if ((fp = fopen(filename, "w")) == NULL) { |
LOG(llevError, "Cannot open %s for writing\n", filename); | | LOG(llevError, "Cannot open %s for writing\n", filename); |
return; | | return; |