diff options
Diffstat (limited to 'c/src/librpc/src/rpc/auth_time.c')
-rw-r--r-- | c/src/librpc/src/rpc/auth_time.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/librpc/src/rpc/auth_time.c b/c/src/librpc/src/rpc/auth_time.c index 733080a397..ab3277c4df 100644 --- a/c/src/librpc/src/rpc/auth_time.c +++ b/c/src/librpc/src/rpc/auth_time.c @@ -437,7 +437,7 @@ __rpc_get_time_offset(td, srv, thost, uaddr, netid) msg("alarm caught it, must be unreachable."); goto error; } - res = _read(s, (char *)&thetime, sizeof(thetime)); + res = _RPC_read(s, (char *)&thetime, sizeof(thetime)); if (res != sizeof(thetime)) { if (saw_alarm) msg("timed out TCP call."); @@ -449,7 +449,7 @@ __rpc_get_time_offset(td, srv, thost, uaddr, netid) time_valid = 1; } save = errno; - (void)_close(s); + (void)_RPC_close(s); errno = save; s = RPC_ANYSOCK; @@ -468,7 +468,7 @@ error: */ if (s != RPC_ANYSOCK) - (void)_close(s); + (void)_RPC_close(s); if (clnt != NULL) clnt_destroy(clnt); |