From 87da3743a2341c2e5f96858b1dcb172131030300 Mon Sep 17 00:00:00 2001 From: Jorge Pereira Date: Wed, 25 Nov 2015 15:50:22 -0200 Subject: [PATCH] better call fr_syserror() when in POSIX contexts --- src/main/detail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/detail.c b/src/main/detail.c index 6788838542d..65f1324148f 100644 --- a/src/main/detail.c +++ b/src/main/detail.c @@ -210,7 +210,7 @@ static int detail_open(rad_listen_t *this) */ if ((data->work_fd < 0) && (errno != ENOENT)) { ERROR("Failed opening detail file %s: %s", - data->filename_work, strerror(errno)); + data->filename_work, fr_syserror(errno)); return 0; } -- 2.47.3