diff options
Diffstat (limited to 'src/nss-mymachines/nss-mymachines.c')
-rw-r--r-- | src/nss-mymachines/nss-mymachines.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nss-mymachines/nss-mymachines.c b/src/nss-mymachines/nss-mymachines.c index eb1d2b450b..09c5d05f2e 100644 --- a/src/nss-mymachines/nss-mymachines.c +++ b/src/nss-mymachines/nss-mymachines.c @@ -173,7 +173,7 @@ enum nss_status _nss_mymachines_gethostbyname4_r( goto fail; } - if (sz != PROTO_ADDRESS_SIZE(family)) { + if (sz != FAMILY_ADDRESS_SIZE(family)) { r = -EINVAL; goto fail; } @@ -281,7 +281,7 @@ enum nss_status _nss_mymachines_gethostbyname3_r( return NSS_STATUS_NOTFOUND; } - alen = PROTO_ADDRESS_SIZE(af); + alen = FAMILY_ADDRESS_SIZE(af); l = strlen(name); ms = ALIGN(l+1) + |