Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/dev_mkdb Removed two debug messages commited by mis...



details:   https://anonhg.NetBSD.org/src/rev/d8f6bc92c623
branches:  trunk
changeset: 512739:d8f6bc92c623
user:      manu <manu%NetBSD.org@localhost>
date:      Sun Jul 15 17:27:32 2001 +0000

description:
Removed two debug messages commited by mistake. Sorry about this.

diffstat:

 usr.sbin/dev_mkdb/dev_mkdb.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 40dfcc73072f -r d8f6bc92c623 usr.sbin/dev_mkdb/dev_mkdb.c
--- a/usr.sbin/dev_mkdb/dev_mkdb.c      Sun Jul 15 17:18:53 2001 +0000
+++ b/usr.sbin/dev_mkdb/dev_mkdb.c      Sun Jul 15 17:27:32 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dev_mkdb.c,v 1.16 2001/07/14 14:50:44 manu Exp $       */
+/*     $NetBSD: dev_mkdb.c,v 1.17 2001/07/15 17:27:32 manu Exp $       */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -43,7 +43,7 @@
 #if 0
 static char sccsid[] = "from: @(#)dev_mkdb.c   8.1 (Berkeley) 6/6/93";
 #else
-__RCSID("$NetBSD: dev_mkdb.c,v 1.16 2001/07/14 14:50:44 manu Exp $");
+__RCSID("$NetBSD: dev_mkdb.c,v 1.17 2001/07/15 17:27:32 manu Exp $");
 #endif
 #endif /* not lint */
 
@@ -144,7 +144,6 @@
                (void)gettimeofday(&tv, NULL);
                (void)snprintf(q, MAXPATHLEN - (long)(q - dbtmp), 
                            "%ld.tmp", tv.tv_usec);
-               printf (">>%s<<\n", dbtmp);
                db = dbopen(dbtmp, O_CREAT|O_EXCL|O_EXLOCK|O_RDWR|O_TRUNC,
                    S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH, DB_HASH, NULL);
        } while (!db && (errno == EEXIST));
@@ -178,7 +177,6 @@
                else
                        continue;
                bkey.dev = st->st_rdev;
-               printf (">>>%d\n", bkey.dev);
 
                /*
                 * Create the data; nul terminate the name so caller doesn't



Home | Main Index | Thread Index | Old Index