diff options
Diffstat (limited to 'nis/nss_nisplus/nisplus-service.c')
-rw-r--r-- | nis/nss_nisplus/nisplus-service.c | 2 |
1 files changed, 1 insertions, 1 deletions
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'; |