summaryrefslogtreecommitdiff
path: root/lib/libc/rpc/rtime.c
diff options
context:
space:
mode:
authorJason Evans <jasone@FreeBSD.org>2000-01-12 09:23:48 +0000
committerJason Evans <jasone@FreeBSD.org>2000-01-12 09:23:48 +0000
commit929273386f6e688c008b15fd24932df2ed7e7172 (patch)
treeb3edfb3b0b6bdadce3b9cf019cabf1218f08038d /lib/libc/rpc/rtime.c
parentf3d5d34b459fcd295a618227c37e2bacae1cdf67 (diff)
Notes
Diffstat (limited to 'lib/libc/rpc/rtime.c')
-rw-r--r--lib/libc/rpc/rtime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/rpc/rtime.c b/lib/libc/rpc/rtime.c
index 4e65c037563d..25b11cae4ca1 100644
--- a/lib/libc/rpc/rtime.c
+++ b/lib/libc/rpc/rtime.c
@@ -129,7 +129,7 @@ rtime(addrp, timep, timeout)
do_close(s);
return(-1);
}
- res = read(s, (char *)&thetime, sizeof(thetime));
+ res = _libc_read(s, (char *)&thetime, sizeof(thetime));
do_close(s);
if (res < 0) {
return(-1);
@@ -152,6 +152,6 @@ do_close(s)
int save;
save = errno;
- (void) close(s);
+ (void)_libc_close(s);
errno = save;
}