summaryrefslogtreecommitdiff
path: root/src/trg-file-parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/trg-file-parser.c')
-rw-r--r--src/trg-file-parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trg-file-parser.c b/src/trg-file-parser.c
index 99f230b..c79ec76 100644
--- a/src/trg-file-parser.c
+++ b/src/trg-file-parser.c
@@ -116,7 +116,7 @@ trg_torrent_file *trg_parse_torrent_file(const gchar *filename)
mf = g_mapped_file_new(filename, FALSE, &error);
if (error) {
- g_error(error->message);
+ g_error("%s",error->message);
g_error_free(error);
return NULL;
} else {