diff options
| author | augustss <augustss@NetBSD.org> | 1998-05-15 15:45:58 +0000 |
|---|---|---|
| committer | augustss <augustss@NetBSD.org> | 1998-05-15 15:45:58 +0000 |
| commit | 88edb375225d6bf6a87ea8b303bc01834738cdfd (patch) | |
| tree | 69ee1885b960f7ecddad7150a7045a9dc3de7b48 /sys/dev/audio.c | |
| parent | 4cefa174015e3b6ce0465240dbb0e84ecd95a8cd (diff) | |
Be more verbose if attaching the audio device fails.
Diffstat (limited to 'sys/dev/audio.c')
| -rw-r--r-- | sys/dev/audio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/audio.c b/sys/dev/audio.c index 2c80b1e685c..e52fccdb258 100644 --- a/sys/dev/audio.c +++ b/sys/dev/audio.c @@ -1,4 +1,4 @@ -/* $NetBSD: audio.c,v 1.84 1998/04/28 23:19:20 augustss Exp $ */ +/* $NetBSD: audio.c,v 1.85 1998/05/15 15:45:58 augustss Exp $ */ /* * Copyright (c) 1991-1993 Regents of the University of California. @@ -254,12 +254,14 @@ audioattach(parent, self, aux) error = audio_alloc_ring(sc, &sc->sc_pr, AU_RING_SIZE); if (error) { sc->hw_if = 0; + printf("audio: could not allocate play buffer\n"); return; } error = audio_alloc_ring(sc, &sc->sc_rr, AU_RING_SIZE); if (error) { audio_free_ring(sc, &sc->sc_pr); sc->hw_if = 0; + printf("audio: could not allocate record buffer\n"); return; } |
