summaryrefslogtreecommitdiff
path: root/src/format/exe_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/exe_format.c')
-rw-r--r--src/format/exe_format.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/format/exe_format.c b/src/format/exe_format.c
index 1077cfe..8a03243 100644
--- a/src/format/exe_format.c
+++ b/src/format/exe_format.c
@@ -29,9 +29,13 @@
#include "exe_format-int.h"
+#include "../panel/log.h"
+#define _(str) str
+
+
/* ------------------------ DETECTION DE FORMATS EXECUTABLES ------------------------ */
@@ -239,7 +243,7 @@ exe_format *load_new_exe_format(const uint8_t *content, off_t length)
for (i = 0; i < exe_formats_count && result == NULL; i++)
if (exe_formats[i].match(content, length))
{
- printf("<LOGINFO> %s is matching...\n", exe_formats[i].name);
+ log_variadic_message(LMT_INFO, _("%s is matching..."), exe_formats[i].name);
result = exe_formats[i].load(content, length);