about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog3
-rw-r--r--nptl/pthread_mutex_trylock.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index a41ce03284..877c858118 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,5 +1,8 @@
 2005-12-24  Ulrich Drepper  <drepper@redhat.com>
 
+	* pthread_mutex_trylock.c (__pthread_mutex_trylock): Add break
+	missing after last change.
+
 	* version.c: Update cpoyright year.
 
 2005-12-23  Ulrich Drepper  <drepper@redhat.com>
diff --git a/nptl/pthread_mutex_trylock.c b/nptl/pthread_mutex_trylock.c
index a50b9173ac..8213f90da9 100644
--- a/nptl/pthread_mutex_trylock.c
+++ b/nptl/pthread_mutex_trylock.c
@@ -68,6 +68,7 @@ __pthread_mutex_trylock (mutex)
 
 	  return 0;
 	}
+      break;
 
     default:
       /* Correct code cannot set any other type.  */