summaryrefslogtreecommitdiff
path: root/src/trg-file-parser.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-18 08:26:01 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-18 08:26:01 +0000
commit115d8874ed59fc0c8c754b0864e137d5f142b2a2 (patch)
tree22f2c6c6a5cea5a7d08d1bccbbac87c688c86a3a /src/trg-file-parser.c
parent612c6248e2dd48b19e2daa7a98fdab757976f27a (diff)
issue 111
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 {