summaryrefslogtreecommitdiff
path: root/usr.bin/cdio
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-10-29 00:07:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-10-29 00:07:08 +0000
commit4c30f8cd469374e124acd77154fe0911da7856a7 (patch)
tree4afe8bb2514b59da37da09b6388e320c1345c35b /usr.bin/cdio
parent9c3381a0bf60596ef5bd4767646a36954061bd19 (diff)
no need to warn about using the default device; Thomas Pfaff
Diffstat (limited to 'usr.bin/cdio')
-rw-r--r--usr.bin/cdio/cdio.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/cdio/cdio.c b/usr.bin/cdio/cdio.c
index 54bd03b78ff..8ece4be628c 100644
--- a/usr.bin/cdio/cdio.c
+++ b/usr.bin/cdio/cdio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cdio.c,v 1.67 2008/08/30 10:41:38 fgsch Exp $ */
+/* $OpenBSD: cdio.c,v 1.68 2008/10/29 00:07:07 deraadt Exp $ */
/* Copyright (c) 1995 Serge V. Vakulenko
* All rights reserved.
@@ -265,8 +265,10 @@ main(int argc, char **argv)
if (!cdname) {
cdname = DEFAULT_CD_DRIVE;
- fprintf(stderr,
- "No CD device name specified. Defaulting to %s.\n", cdname);
+ if (verbose == 2)
+ fprintf(stderr,
+ "No CD device name specified. Defaulting to %s.\n",
+ cdname);
}
if (argc > 0 && !strcasecmp(*argv, "tao")) {