diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2015-10-16 19:20:54 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2015-10-16 19:20:54 +0200 |
commit | 8a8c92bde034cc6c04835eff0e844406177e947f (patch) | |
tree | 23f1f4b7c4b3362390e46fa61f68e631d686dc17 /decoder | |
parent | c8636f805d1900befac4d59c3677352e68c79fca (diff) | |
download | sigrok-test-8a8c92bde034cc6c04835eff0e844406177e947f.tar.gz sigrok-test-8a8c92bde034cc6c04835eff0e844406177e947f.zip |
Use g_strerror() in favor of strerror().
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/runtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |