From: Uwe Hermann Date: Fri, 16 Oct 2015 17:20:54 +0000 (+0200) Subject: Use g_strerror() in favor of strerror(). X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-test.git;a=commitdiff_plain;h=8a8c92bde034cc6c04835eff0e844406177e947f Use g_strerror() in favor of strerror(). --- diff --git a/decoder/runtc.c b/decoder/runtc.c index 49e6a61..6d40c1f 100644 --- a/decoder/runtc.c +++ b/decoder/runtc.c @@ -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; } }