Browse code

add missing args for format

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@2743 77e5149b-7576-45b1-b177-96237e5ba77b

Tomasz Kojm authored on 2007/02/14 00:36:04
Showing 2 changed files
... ...
@@ -714,7 +714,7 @@ static int chdir_inc(const char *dbname)
714 714
 	}
715 715
 
716 716
 	if(cvd_unpack(dbfile, path) == -1) {
717
-	    logg("!chdir_inc: Can't unpack %s into %s\n", path);
717
+	    logg("!chdir_inc: Can't unpack %s into %s\n", dbfile, path);
718 718
 	    rmdirs(path);
719 719
 	    return -1;
720 720
 	}
... ...
@@ -85,7 +85,7 @@ int mirman_read(const char *file, struct mirdat *mdat, uint8_t active)
85 85
     close(fd);
86 86
 
87 87
     if(bread) {
88
-	logg("^Removing broken %s file.\n");
88
+	logg("^Removing broken %s file.\n", file);
89 89
 	unlink(file);
90 90
 	mirman_free(mdat);
91 91
 	return -1;