Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/rusers Correct last argument to clnt_broadcast.



details:   https://anonhg.NetBSD.org/src/rev/4c10c3b5d2f1
branches:  trunk
changeset: 487133:4c10c3b5d2f1
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Sat Jun 03 14:05:29 2000 +0000

description:
Correct last argument to clnt_broadcast.

diffstat:

 usr.bin/rusers/rusers.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a6389d0e3c19 -r 4c10c3b5d2f1 usr.bin/rusers/rusers.c
--- a/usr.bin/rusers/rusers.c   Sat Jun 03 13:21:14 2000 +0000
+++ b/usr.bin/rusers/rusers.c   Sat Jun 03 14:05:29 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rusers.c,v 1.17 2000/04/14 06:11:10 simonb Exp $       */
+/*     $NetBSD: rusers.c,v 1.18 2000/06/03 14:05:29 fvdl Exp $ */
 
 /*-
  *  Copyright (c) 1993 John Brezak
@@ -30,7 +30,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: rusers.c,v 1.17 2000/04/14 06:11:10 simonb Exp $");
+__RCSID("$NetBSD: rusers.c,v 1.18 2000/06/03 14:05:29 fvdl Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -227,7 +227,7 @@
        memset((char *)&up, 0, sizeof(up));
        clnt_stat = clnt_broadcast(RUSERSPROG, RUSERSVERS_IDLE,
            RUSERSPROC_NAMES, xdr_void, NULL, xdr_utmpidlearr,
-           (char *)&up, rusers_reply);
+           (char *)&up, (resultproc_t)rusers_reply);
        if (clnt_stat != RPC_SUCCESS && clnt_stat != RPC_TIMEDOUT)
                errx(1, "%s", clnt_sperrno(clnt_stat));
 }



Home | Main Index | Thread Index | Old Index