Use g_strerror() in favor of strerror().
authorUwe Hermann <uwe@hermann-uwe.de>
Fri, 16 Oct 2015 17:20:54 +0000 (19:20 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Fri, 16 Oct 2015 17:20:54 +0000 (19:20 +0200)
decoder/runtc.c

index 49e6a61009d8eaa9eb34ef128921973bcbac245d..6d40c1f8f46cb0037f8b82bd8a082e6aafafdd5e 100644 (file)
@@ -349,7 +349,7 @@ static int run_testcase(const char *infile, GSList *pdlist, struct output *op)
        if (op->outfile) {
                if ((op->outfd = open(op->outfile, O_CREAT|O_WRONLY, 0600)) == -1) {
                        ERR("Unable to open %s for writing: %s", op->outfile,
-                                       strerror(errno));
+                                       g_strerror(errno));
                        return FALSE;
                }
        }