From 9e9cc8f54322fb0dc567675306dccd589ccb6562 Mon Sep 17 00:00:00 2001 From: Arran Cudbard-Bell Date: Thu, 14 Jan 2016 12:42:42 -0500 Subject: [PATCH] Typos --- src/main/command.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/command.c b/src/main/command.c index 49f93fb063f7..4e72aa8076a1 100644 --- a/src/main/command.c +++ b/src/main/command.c @@ -677,11 +677,11 @@ static int fr_server_domain_socket_perm(char const *path, gid_t gid) if (rad_getpwuid(NULL, &user, euid) < 0) { - fr_strerror_printf("Failed resolving socket uid to user: %s", fr_strerror() + fr_strerror_printf("Failed resolving socket uid to user: %s", fr_strerror()); goto sock_error; } if (rad_getgrgid(NULL, &group, gid) < 0) { - fr_strerror_printf("Failed resolving socket gid to group: %s", fr_strerror() + fr_strerror_printf("Failed resolving socket gid to group: %s", fr_strerror()); talloc_free(user); goto sock_error; } @@ -3172,7 +3172,7 @@ static int command_socket_open_unix(UNUSED CONF_SECTION *cs, rad_listen_t *this) this->fd = fr_server_domain_socket_perm(sock->path, sock->gid); } if (this->fd < 0) { - ERROR("%s", sock->path, fr_strerror()); + ERROR("%s", fr_strerror()); if (sock->copy) TALLOC_FREE(sock->copy); return -1; }