Update of /cvsroot/alsa/alsa-kernel/core
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26432

Modified Files:
        pcm_native.c 
Log Message:
Change -EINVAL to -EALREADY in snd_pcm_unlink()

Index: pcm_native.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/pcm_native.c,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- pcm_native.c        30 Dec 2003 09:55:04 -0000      1.86
+++ pcm_native.c        26 Jan 2004 15:35:19 -0000      1.87
@@ -1546,7 +1546,7 @@
 
        write_lock_irq(&snd_pcm_link_rwlock);
        if (!snd_pcm_stream_linked(substream)) {
-               res = -EINVAL;
+               res = -EALREADY;
                goto _end;
        }
        list_del(&substream->link_list);



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to