diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2012-01-10 08:06:29 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2012-01-10 08:06:29 +0000 |
commit | 3f2b1559071845076329b4e85b21d2f1a67ab3c3 (patch) | |
tree | 12d827e0f98b049ab5db3ac1aa80317470877304 /usr.bin/aucat | |
parent | 4c589b84699c6231c250b782fc58961ea29f052d (diff) |
hide "device disappeared" messages unless -d is used
Diffstat (limited to 'usr.bin/aucat')
-rw-r--r-- | usr.bin/aucat/dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/aucat/dev.c b/usr.bin/aucat/dev.c index 4652aa92752..9265618dbd0 100644 --- a/usr.bin/aucat/dev.c +++ b/usr.bin/aucat/dev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dev.c,v 1.73 2011/12/02 10:34:50 ratchov Exp $ */ +/* $OpenBSD: dev.c,v 1.74 2012/01/10 08:06:28 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -836,7 +836,7 @@ dev_run(struct dev *d) ((d->mode & MODE_REC) && !APROC_OK(d->sub)) || ((d->mode & MODE_MON) && !APROC_OK(d->submon))) { #ifdef DEBUG - if (debug_level >= 1) { + if (debug_level >= 2) { dev_dbg(d); dbg_puts(": device disappeared\n"); } |