* [PATCH] gssd: Fixed errno typo in get_servername()
@ 2014-07-10 18:28 Steve Dickson
2014-07-25 15:00 ` Steve Dickson
0 siblings, 1 reply; 2+ messages in thread
From: Steve Dickson @ 2014-07-10 18:28 UTC (permalink / raw)
To: Linux NFS Mailing list
Signed-off-by: Steve Dickson <steved@redhat.com>
---
utils/gssd/gssd_proc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/gssd/gssd_proc.c b/utils/gssd/gssd_proc.c
index 40ff188..9925dab 100644
--- a/utils/gssd/gssd_proc.c
+++ b/utils/gssd/gssd_proc.c
@@ -218,7 +218,7 @@ get_servername(const char *name, const struct sockaddr *sa, const char *addr)
NI_NAMEREQD);
if (err) {
printerr(0, "ERROR: unable to resolve %s to hostname: %s\n",
- addr, err == EAI_SYSTEM ? strerror(err) :
+ addr, err == EAI_SYSTEM ? strerror(errno) :
gai_strerror(err));
return NULL;
}
--
1.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gssd: Fixed errno typo in get_servername()
2014-07-10 18:28 [PATCH] gssd: Fixed errno typo in get_servername() Steve Dickson
@ 2014-07-25 15:00 ` Steve Dickson
0 siblings, 0 replies; 2+ messages in thread
From: Steve Dickson @ 2014-07-25 15:00 UTC (permalink / raw)
To: Linux NFS Mailing list
On 10/07/14 14:28, Steve Dickson wrote:
> Signed-off-by: Steve Dickson <steved@redhat.com>
Committed...
steved.
> ---
> utils/gssd/gssd_proc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/utils/gssd/gssd_proc.c b/utils/gssd/gssd_proc.c
> index 40ff188..9925dab 100644
> --- a/utils/gssd/gssd_proc.c
> +++ b/utils/gssd/gssd_proc.c
> @@ -218,7 +218,7 @@ get_servername(const char *name, const struct sockaddr *sa, const char *addr)
> NI_NAMEREQD);
> if (err) {
> printerr(0, "ERROR: unable to resolve %s to hostname: %s\n",
> - addr, err == EAI_SYSTEM ? strerror(err) :
> + addr, err == EAI_SYSTEM ? strerror(errno) :
> gai_strerror(err));
> return NULL;
> }
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-25 15:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-10 18:28 [PATCH] gssd: Fixed errno typo in get_servername() Steve Dickson
2014-07-25 15:00 ` Steve Dickson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).