Browse code

print filename when using --info (bb#513)

git-svn: trunk@3271

Tomasz Kojm authored on 2007/10/06 06:55:02
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Fri Oct  5 22:56:13 CEST 2007 (tk)
2
+----------------------------------
3
+  * sigtool/sigtool.c: print filename when using --info (bb#513)
4
+
1 5
 Fri Oct  5 22:50:37 CEST 2007 (tk)
2 6
 ----------------------------------
3 7
   * libclamav/pe.c: fix bb#495
... ...
@@ -997,6 +997,7 @@ static int cvdinfo(struct optstruct *opt)
997 997
 	mprintf("!cvdinfo: Can't read/parse CVD header of %s\n", pt);
998 998
 	return -1;
999 999
     }
1000
+    mprintf("File: %s\n", pt);
1000 1001
 
1001 1002
     pt = strchr(cvd->time, '-');
1002 1003
     *pt = ':';