From: Jorge Pereira Date: Wed, 25 Nov 2015 17:50:22 +0000 (-0200) Subject: better call fr_syserror() when in POSIX contexts X-Git-Tag: release_3_0_11~139^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1399%2Fhead;p=thirdparty%2Ffreeradius-server.git better call fr_syserror() when in POSIX contexts --- 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; }