diff options
Diffstat (limited to 'inet')
-rw-r--r-- | inet/rexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inet/rexec.c b/inet/rexec.c index 5cab324591..8a977c6ab9 100644 --- a/inet/rexec.c +++ b/inet/rexec.c @@ -117,7 +117,7 @@ retry: listen(s2, 1); sa2len = sizeof (sa2); if (getsockname(s2, (struct sockaddr *)&sa2, &sa2len) < 0 || - sa2len != __libc_sa_len(sa2.__ss_family)) { + sa2len != SA_LEN((struct sockaddr *)&sa2)) { perror("getsockname"); (void) __close(s2); goto bad; |