Source-Changes-HG archive

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

[src/trunk]: src/sbin/mount_ptyfs don't print 2 lines of info, remove the bog...



details:   https://anonhg.NetBSD.org/src/rev/6a6613a78806
branches:  trunk
changeset: 778532:6a6613a78806
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 02 21:08:02 2012 +0000

description:
don't print 2 lines of info, remove the bogus one.

diffstat:

 sbin/mount_ptyfs/mount_ptyfs.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 2d3dcc43e224 -r 6a6613a78806 sbin/mount_ptyfs/mount_ptyfs.c
--- a/sbin/mount_ptyfs/mount_ptyfs.c    Mon Apr 02 19:01:21 2012 +0000
+++ b/sbin/mount_ptyfs/mount_ptyfs.c    Mon Apr 02 21:08:02 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mount_ptyfs.c,v 1.12 2011/08/29 14:35:02 joerg Exp $   */
+/*     $NetBSD: mount_ptyfs.c,v 1.13 2012/04/02 21:08:02 christos Exp $        */
 
 /*
  * Copyright (c) 1992, 1993, 1994
@@ -77,7 +77,7 @@
 #if 0
 static char sccsid[] = "@(#)mount_ptyfs.c      8.3 (Berkeley) 5/4/95";
 #else
-__RCSID("$NetBSD: mount_ptyfs.c,v 1.12 2011/08/29 14:35:02 joerg Exp $");
+__RCSID("$NetBSD: mount_ptyfs.c,v 1.13 2012/04/02 21:08:02 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -212,7 +212,6 @@
        if (mntflags & MNT_GETARGS) {
                char buf[1024];
                (void)snprintb(buf, sizeof(buf), PTYFSMNT_BITS, args.flags);
-               printf("version=%d, flags=%s\n", args.version, buf);
                printf("version=%d, gid=%lu, mode=0%o flags=%s\n", args.version,
                    (unsigned long)args.gid, args.mode, buf);
        }



Home | Main Index | Thread Index | Old Index