summaryrefslogtreecommitdiff
path: root/src/write-mgr-file.c
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2008-09-22 13:05:07 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2008-10-28 12:18:23 +0000
commit48b261f13d1cc83d4f1b35235aab05f802b2b2a7 (patch)
tree6eef915a7a1bc43235ef96abc4ca4ad3025c7b38 /src/write-mgr-file.c
parentfd91bc41150a0a4892b2d0029a782184875eae2a (diff)
downloadtelepathy-salut-48b261f13d1cc83d4f1b35235aab05f802b2b2a7.tar.gz
Handle error messages with printf format strings in.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'src/write-mgr-file.c')
-rw-r--r--src/write-mgr-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/write-mgr-file.c b/src/write-mgr-file.c
index de984d75..728fdc70 100644
--- a/src/write-mgr-file.c
+++ b/src/write-mgr-file.c
@@ -93,7 +93,7 @@ main (void)
salut_protocols, &error);
if (!s)
{
- fprintf (stderr, error->message);
+ fprintf (stderr, "%s", error->message);
g_error_free (error);
return 1;
}