Browse code

print failed whitelist filename

aCaB authored on 2009/06/23 00:21:45
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Mon Jun 22 17:19:45 CEST 2009 (acab)
2
+------------------------------------
3
+ * clamav-milter/whitelist.c: print failed whitelist filename
4
+
1 5
 Fri Jun 12 12:30:15 CEST 2009 (tk)
2 6
 ----------------------------------
3 7
  * libclamav/elf.[ch]: add support for 64-bit ELF files (bb#1593)
... ...
@@ -63,7 +63,7 @@ int whitelist_init(const char *fname) {
63 63
     struct WHLST *w;
64 64
 
65 65
     if(!(f = fopen(fname, "r"))) {
66
-	logg("!Cannot open whitelist file\n");
66
+	logg("!Cannot open whitelist file '%s'\n", fname);
67 67
 	return 1;
68 68
     }
69 69