about summary refs log tree commit diff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-05-10 13:33:47 -0700
committerRoland McGrath <roland@hack.frob.com>2012-05-10 15:57:24 -0700
commitbbc49098ff1bbbd5bdbcd69546b906d3844b4771 (patch)
tree9a413cdb87048340c417ac045c6f8d7161b04143 /sysdeps/mach
parent6753048948b86f3b045710f77e1616b348562fa9 (diff)
downloadglibc-bbc49098ff1bbbd5bdbcd69546b906d3844b4771.tar.gz
glibc-bbc49098ff1bbbd5bdbcd69546b906d3844b4771.tar.xz
glibc-bbc49098ff1bbbd5bdbcd69546b906d3844b4771.zip
Hurd: setitimer.c: Fix unlock in error patch
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/setitimer.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/mach/hurd/setitimer.c b/sysdeps/mach/hurd/setitimer.c
index a7b2e29d16..00cd0cc445 100644
--- a/sysdeps/mach/hurd/setitimer.c
+++ b/sysdeps/mach/hurd/setitimer.c
@@ -1,5 +1,4 @@
-/* Copyright (C) 1994,1995,1996,1997,2000,2001,2005
-	Free Software Foundation, Inc.
+/* Copyright (C) 1994-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -219,7 +218,7 @@ setitimer_locked (const struct itimerval *new, struct itimerval *old,
 	  /* Start up the itimer thread running `timer_thread' (below).  */
 	  if (err = __thread_create (__mach_task_self (),
 				     &_hurd_itimer_thread))
-	    return __hurd_fail (err);
+	    goto out;
 	  _hurd_itimer_thread_stack_base = 0; /* Anywhere.  */
 	  _hurd_itimer_thread_stack_size = __vm_page_size; /* Small stack.  */
 	  if (err = __mach_setup_thread (__mach_task_self (),