tcs@USNA.MIL (Terry Slattery) (05/15/87)
The author of rpc.mountd.c obviously copied much of the code from rpc.rstatd.c because the perror() call after the getsockname() call will print "rstatd: getsockname". Here is the diff: diff -c rpc.mountd.c.bak rpc.mountd.c -------------------------------------- *** rpc.mountd.c.bak Fri May 15 09:42:13 1987 --- rpc.mountd.c Fri May 15 09:42:38 1987 *************** *** 86,92 **** #endif if (getsockname(0, &addr, &len) != 0) { ! perror("rstat: getsockname"); exit(1); } if ((transp = svcudp_create(0)) == NULL) { --- 86,92 ---- #endif if (getsockname(0, &addr, &len) != 0) { ! perror("mountd: getsockname"); exit(1); } if ((transp = svcudp_create(0)) == NULL) { ----------------------------------------- -tcs Terry Slattery U.S. Naval Academy 301-267-4413 ARPA: tcs@usna.arpa UUCP: decvax!brl-smoke!usna!tcs