Commit 461b7e7c authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Better error message in init_cache().

parent e2fbbfdf
Sun Jan 5 19:10:20 1992 Per Cederqvist (ceder at lysator)
* init_cache (simple-cache.c): Slightly better log error message
when the text file can not be found.
Wed Dec 18 00:05:43 1991 Per Cederqvist (ceder at lysator)
* Version 1.0.4 was never used. Version is now 1.1.0.
......
/*
* $Id: simple-cache.c,v 0.18 1991/11/10 19:02:11 linus Exp $
* $Id: simple-cache.c,v 0.19 1992/01/05 18:23:07 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -33,7 +33,7 @@
* New save algorithm by ceder.
*/
static char *rcsid = "$Id: simple-cache.c,v 0.18 1991/11/10 19:02:11 linus Exp $";
static char *rcsid = "$Id: simple-cache.c,v 0.19 1992/01/05 18:23:07 ceder Exp $";
......@@ -1687,7 +1687,9 @@ init_cache(void)
if ( (text_file = fopen(textfilename, "a+b")) == NULL )
{
restart_kom("ERROR: init_cache: can't open text file.\n");
restart_kom("ERROR: init_cache: can't open text file \"%s\"."
" errno = %d\n",
textfilename, errno);
}
if ( is_clean(datafilename) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment