* Read n fortunes from fortune file file, and put it into the
* string array fortune
*
- * $Id: FortuneParse.c,v 1.2 2002/08/18 14:38:04 piccardi Exp $
+ * $Id: FortuneParse.c,v 1.3 2003/01/12 16:10:07 piccardi Exp $
*
****************************************************************/
/*
*/
fortunefile = fopen(file,"r");
if (fortunefile == NULL) { /* on open error exit */
- perror("Opening fortune file");
+ printf("On file %s\n", file);
+ perror("Cannot open file");
exit(-1);
}
i = 0;