aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index 89cca9a..8c63548 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -17,6 +17,7 @@
*/
#include <glib.h>
+#include <glib/gprintf.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <errno.h>
@@ -107,7 +108,7 @@ fatal (const gchar *format, ...)
{
va_list ap;
va_start (ap, format);
- vfprintf (stderr, format, ap);
+ g_vfprintf (stderr, format, ap);
exit (EXIT_FAILURE);
va_end (ap);
}