summaryrefslogtreecommitdiff
path: root/usr.sbin/kvm_mkdb
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/kvm_mkdb')
-rw-r--r--usr.sbin/kvm_mkdb/kvm_mkdb.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/kvm_mkdb/kvm_mkdb.c b/usr.sbin/kvm_mkdb/kvm_mkdb.c
index ddbb657d900..6f4ae34965f 100644
--- a/usr.sbin/kvm_mkdb/kvm_mkdb.c
+++ b/usr.sbin/kvm_mkdb/kvm_mkdb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_mkdb.c,v 1.8 1999/03/24 05:25:55 millert Exp $ */
+/* $OpenBSD: kvm_mkdb.c,v 1.9 1999/03/29 20:42:50 millert Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -43,7 +43,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "from: @(#)kvm_mkdb.c 8.3 (Berkeley) 5/4/95";
#else
-static char *rcsid = "$OpenBSD: kvm_mkdb.c,v 1.8 1999/03/24 05:25:55 millert Exp $";
+static char *rcsid = "$OpenBSD: kvm_mkdb.c,v 1.9 1999/03/29 20:42:50 millert Exp $";
#endif
#endif /* not lint */
@@ -149,10 +149,10 @@ kvm_mkdb(fd, nlistpath, nlistname, verbose)
/* If the existing db file matches the currently running kernel, exit */
if (testdb(dbname)) {
- warnx("%s already up to date", dbname);
+ if (verbose)
+ warnx("%s already up to date", dbname);
return(0);
- }
- else if (verbose)
+ } else if (verbose)
warnx("rebuilding %s", dbname);
(void)umask(0);