2002-03-13 13:43:33

by Sebastian Droege

[permalink] [raw]
Subject: [2.5.7-pre1] rtctimer.c compile fix

Hi,
here is a simple compile fix for the alsa rtctimer
The variable err in rtctimer_open was missing
Maybe this was posted before (I use this fix since 2.5.5 or so) but I don't know

Bye

--- linux-2.5.6/sound/core/rtctimer.c.old Wed Mar 13 14:43:31 2002
+++ linux-2.5.6/sound/core/rtctimer.c Wed Mar 13 14:43:56 2002
@@ -76,6 +76,7 @@
static int
rtctimer_open(snd_timer_t *t)
{
+ int err;
err = rtc_register(&rtc_task);
if (err < 0)
return err;


Attachments:
(No filename) (189.00 B)