commit 81e7ffa89b6970d6404af4e878f7460b3f2432b6
parent 949dae1583254b789e3dafe569e030140a621846
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 20 Dec 2009 00:14:54 +0000
fix
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/main/extract.c b/src/main/extract.c
@@ -205,6 +205,10 @@ print_selected_keywords (void *cls,
if (print[type] != YES)
return 0;
+ if (verbose > 3)
+ fprintf (stdout,
+ _("Found by `%s' plugin:\n"),
+ plugin_name);
stype = gettext(EXTRACTOR_metatype_to_string(type));
switch (format)
{
diff --git a/src/main/extractor.c b/src/main/extractor.c
@@ -1702,7 +1702,7 @@ EXTRACTOR_extract (struct EXTRACTOR_PluginList *plugins,
proc,
proc_cls);
if (buffer != NULL)
- MUNMAP (buffer, size);
+ MUNMAP (buffer, fsize);
if (-1 != fd)
close(fd);
}