Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/rpcinfo Fixup field with a bit.



details:   https://anonhg.NetBSD.org/src/rev/913a64befe40
branches:  trunk
changeset: 487143:913a64befe40
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Sat Jun 03 15:34:44 2000 +0000

description:
Fixup field with a bit.

diffstat:

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

diffs (24 lines):

diff -r e00e755b4c07 -r 913a64befe40 usr.bin/rpcinfo/rpcinfo.c
--- a/usr.bin/rpcinfo/rpcinfo.c Sat Jun 03 14:55:43 2000 +0000
+++ b/usr.bin/rpcinfo/rpcinfo.c Sat Jun 03 15:34:44 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rpcinfo.c,v 1.12 2000/06/02 23:19:38 fvdl Exp $        */
+/*     $NetBSD: rpcinfo.c,v 1.13 2000/06/03 15:34:44 fvdl Exp $        */
 
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -832,12 +832,12 @@
                printf("No remote programs registered.\n");
        } else if (dumptype == RPCBDUMP) {
                printf(
-"   program version netid     address             service    owner\n");
+"   program version netid     address                service    owner\n");
                for (; head != NULL; head = head->rpcb_next) {
                        printf("%10u%5u    ",
                                head->rpcb_map.r_prog, head->rpcb_map.r_vers);
                        printf("%-9s ", head->rpcb_map.r_netid);
-                       printf("%-19s", head->rpcb_map.r_addr);
+                       printf("%-22s", head->rpcb_map.r_addr);
                        rpc = getrpcbynumber(head->rpcb_map.r_prog);
                        if (rpc)
                                printf(" %-10s", rpc->r_name);



Home | Main Index | Thread Index | Old Index