diff options
Diffstat (limited to 'nis')
-rw-r--r-- | nis/nss_nisplus/nisplus-hosts.c | 2 | ||||
-rw-r--r-- | nis/nss_nisplus/nisplus-network.c | 2 | ||||
-rw-r--r-- | nis/nss_nisplus/nisplus-proto.c | 2 | ||||
-rw-r--r-- | nis/nss_nisplus/nisplus-rpc.c | 2 | ||||
-rw-r--r-- | nis/nss_nisplus/nisplus-service.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/nis/nss_nisplus/nisplus-hosts.c b/nis/nss_nisplus/nisplus-hosts.c index 19f9161076..d4dda5964e 100644 --- a/nis/nss_nisplus/nisplus-hosts.c +++ b/nis/nss_nisplus/nisplus-hosts.c @@ -118,7 +118,7 @@ _nss_nisplus_parse_hostent (nis_result *result, int af, struct hostent *host, __set_errno (ERANGE); return 0; } - p = stpcpy(p, " "); + *p++ = ' '; p = stpncpy (p, NISENTRYVAL (i, 1, result), NISENTRYLEN (i, 1, result)); *p = '\0'; diff --git a/nis/nss_nisplus/nisplus-network.c b/nis/nss_nisplus/nisplus-network.c index 9a46397149..183722633f 100644 --- a/nis/nss_nisplus/nisplus-network.c +++ b/nis/nss_nisplus/nisplus-network.c @@ -89,7 +89,7 @@ _nss_nisplus_parse_netent (nis_result *result, struct netent *network, __set_errno (ERANGE); return 0; } - p = stpcpy(p, " "); + *p++ = ' '; p = stpncpy (p, NISENTRYVAL (i, 1, result), NISENTRYLEN (i, 1, result)); *p = '\0'; diff --git a/nis/nss_nisplus/nisplus-proto.c b/nis/nss_nisplus/nisplus-proto.c index 1ee9a8944b..d98317a8a1 100644 --- a/nis/nss_nisplus/nisplus-proto.c +++ b/nis/nss_nisplus/nisplus-proto.c @@ -85,7 +85,7 @@ _nss_nisplus_parse_protoent (nis_result * result, struct protoent *proto, { if (NISENTRYLEN (i, 1, result) + 2 > room_left) goto no_more_room; - p = stpcpy(p, " "); + *p++ = ' '; p = stpncpy (p, NISENTRYVAL (i, 1, result), NISENTRYLEN (i, 1, result)); *p = '\0'; diff --git a/nis/nss_nisplus/nisplus-rpc.c b/nis/nss_nisplus/nisplus-rpc.c index cebd5d7183..47610a4dca 100644 --- a/nis/nss_nisplus/nisplus-rpc.c +++ b/nis/nss_nisplus/nisplus-rpc.c @@ -82,7 +82,7 @@ _nss_nisplus_parse_rpcent (nis_result *result, struct rpcent *rpc, { if (NISENTRYLEN (i, 1, result) + 2 > room_left) goto no_more_room; - p = stpcpy(p, " "); + *p++ = ' '; p = stpncpy (p, NISENTRYVAL (i, 1, result), NISENTRYLEN (i, 1, result)); *p = '\0'; diff --git a/nis/nss_nisplus/nisplus-service.c b/nis/nss_nisplus/nisplus-service.c index 50bc7e24c1..b97034e9b8 100644 --- a/nis/nss_nisplus/nisplus-service.c +++ b/nis/nss_nisplus/nisplus-service.c @@ -91,7 +91,7 @@ _nss_nisplus_parse_servent (nis_result *result, struct servent *serv, { if (NISENTRYLEN (i, 1, result) + 2 > room_left) goto no_more_room; - p = stpcpy(p, " "); + *p++ = ' '; p = stpncpy (p, NISENTRYVAL (i, 1, result), NISENTRYLEN (i, 1, result)); *p = '\0'; |