From c4f186d0ecd15675d715a7e6b758129e81703e4f Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 12 Dec 2000 19:54:58 +0000 Subject: [PATCH] fix an error message --- source/snd_alsa_0_6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/snd_alsa_0_6.c b/source/snd_alsa_0_6.c index 3f7b56a..99f4e92 100644 --- a/source/snd_alsa_0_6.c +++ b/source/snd_alsa_0_6.c @@ -157,8 +157,8 @@ SNDDMA_Init (void) dev_openned: Con_Printf ("Using card %d, device %d.\n", card, dev); memset (&hwinfo, 0, sizeof (hwinfo)); - err_msg = "audio info"; - if (snd_pcm_hw_info (pcm_handle, &hwinfo) < 0) + err_msg = "snd_pcm_hw_info"; + if ((rc = snd_pcm_hw_info (pcm_handle, &hwinfo)) < 0) goto error; Con_Printf ("%08x %08x\n", hwinfo.access_mask, hwinfo.format_mask); rate = 44100;