aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/rusers
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2001-03-19 12:50:13 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2001-03-19 12:50:13 +0000
commit8360efbd6c932013ffdb2f83d2f2de4278febb5e (patch)
treeb842b4bf2665ef953be005b10013a2f3daf323c3 /usr.bin/rusers
parent1ac2b9fe972a0c73729565f8310fa6eba55718c4 (diff)
downloadsrc-8360efbd6c932013ffdb2f83d2f2de4278febb5e.tar.gz
src-8360efbd6c932013ffdb2f83d2f2de4278febb5e.zip
Notes
Diffstat (limited to 'usr.bin/rusers')
-rw-r--r--usr.bin/rusers/rusers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rusers/rusers.c b/usr.bin/rusers/rusers.c
index a59abd62872d..9b83cb7e3b55 100644
--- a/usr.bin/rusers/rusers.c
+++ b/usr.bin/rusers/rusers.c
@@ -90,7 +90,7 @@ remember_host(struct in_addr addr)
}
int
-rusers_reply(char *replyp, struct sockaddr_in *raddrp)
+rusers_reply(caddr_t replyp, struct sockaddr_in *raddrp)
{
int x, idle;
char date[32], idle_time[64], remote[64];
@@ -192,7 +192,7 @@ onehost(char *host)
if (clnt_call(rusers_clnt, RUSERSPROC_NAMES, xdr_void, NULL, xdr_utmpidlearr, &up, tv) != RPC_SUCCESS)
errx(1, "%s", clnt_sperror(rusers_clnt, ""));
addr.sin_addr.s_addr = *(int *)hp->h_addr;
- rusers_reply((char *)&up, &addr);
+ rusers_reply((caddr_t)&up, &addr);
}
void