]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - osx_write.c
blob: Simplify fd2buf().
[paraslash.git] / osx_write.c
index b057b9c057991864b582ad8519cbac1b9083a90d..d38e2fb1d0ebc2d650060677a70b878337f135d3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006-2012 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2013 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -326,7 +326,7 @@ static void osx_write_post_select(__a_unused struct sched *s, struct task *t)
                        AudioUnitUninitialize(powd->audio_unit);
                        CloseComponent(powd->audio_unit);
                        btr_remove_node(&powd->callback_btrn);
-                       goto remove_btrn;
+                       goto fail;
                }
        }
        mutex_lock(powd->mutex);