Source-Changes-HG archive

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

[src/trunk]: src/sys/dev Avoid a pointless debug message.



details:   https://anonhg.NetBSD.org/src/rev/bdd9b680c134
branches:  trunk
changeset: 484122:bdd9b680c134
user:      augustss <augustss%NetBSD.org@localhost>
date:      Sun Mar 26 10:01:32 2000 +0000

description:
Avoid a pointless debug message.

diffstat:

 sys/dev/audio.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2c50f5271b68 -r bdd9b680c134 sys/dev/audio.c
--- a/sys/dev/audio.c   Sun Mar 26 09:54:28 2000 +0000
+++ b/sys/dev/audio.c   Sun Mar 26 10:01:32 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: audio.c,v 1.122 2000/03/01 00:44:35 augustss Exp $     */
+/*     $NetBSD: audio.c,v 1.123 2000/03/26 10:01:32 augustss Exp $     */
 
 /*
  * Copyright (c) 1991-1993 Regents of the University of California.
@@ -894,7 +894,7 @@
        st = tsleep(chan, PWAIT | PCATCH, label, timo);
        *chan = 0;
 #ifdef AUDIO_DEBUG
-       if (st != 0)
+       if (st != 0 && st != EINTR)
            printf("audio_sleep: woke up st=%d\n", st);
 #endif
        return (st);



Home | Main Index | Thread Index | Old Index