Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/mount_nfs Don't print the version of the argument struc...
details: https://anonhg.NetBSD.org/src/rev/860140ece8d7
branches: trunk
changeset: 545365:860140ece8d7
user: fvdl <fvdl%NetBSD.org@localhost>
date: Mon Apr 07 13:31:17 2003 +0000
description:
Don't print the version of the argument structure, it's easily confused
with the NFS version.
diffstat:
sbin/mount_nfs/mount_nfs.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (32 lines):
diff -r e985ef216f91 -r 860140ece8d7 sbin/mount_nfs/mount_nfs.c
--- a/sbin/mount_nfs/mount_nfs.c Mon Apr 07 12:36:26 2003 +0000
+++ b/sbin/mount_nfs/mount_nfs.c Mon Apr 07 13:31:17 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mount_nfs.c,v 1.37 2003/03/22 11:15:52 jdolecek Exp $ */
+/* $NetBSD: mount_nfs.c,v 1.38 2003/04/07 13:31:17 fvdl Exp $ */
/*
* Copyright (c) 1992, 1993, 1994
@@ -46,7 +46,7 @@
#if 0
static char sccsid[] = "@(#)mount_nfs.c 8.11 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: mount_nfs.c,v 1.37 2003/03/22 11:15:52 jdolecek Exp $");
+__RCSID("$NetBSD: mount_nfs.c,v 1.38 2003/04/07 13:31:17 fvdl Exp $");
#endif
#endif /* not lint */
@@ -591,11 +591,10 @@
} else
error = -1;
- printf("version=%d", nfsargsp->version);
if (error == 0)
- printf(", addr=%s, port=%s, addrlen=%d",
+ printf("ddr=%s, port=%s, addrlen=%d, ",
host, serv, nfsargsp->addrlen);
- printf(", sotype=%d, proto=%d, fhsize=%d, "
+ printf("sotype=%d, proto=%d, fhsize=%d, "
"flags=%s, wsize=%d, rsize=%d, readdirsize=%d, timeo=%d, "
"retrans=%d, maxgrouplist=%d, readahead=%d, leaseterm=%d, "
"deadthresh=%d\n",
Home |
Main Index |
Thread Index |
Old Index