diff options
| author | John Birrell <jb@FreeBSD.org> | 1998-04-29 09:59:34 +0000 | 
|---|---|---|
| committer | John Birrell <jb@FreeBSD.org> | 1998-04-29 09:59:34 +0000 | 
| commit | 4a027d50c7f3f30178a89b3159ba9e4b44f06885 (patch) | |
| tree | b7a4ea836e97e11d436f9a6657ea6a9ec8036c33 /lib/libpthread/thread/thr_seterrno.c | |
| parent | ccf47cfcedf9f3db1780bc3b52ca0adb4480d3f6 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_seterrno.c')
| -rw-r--r-- | lib/libpthread/thread/thr_seterrno.c | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libpthread/thread/thr_seterrno.c b/lib/libpthread/thread/thr_seterrno.c index c4fe08b6cc36..570807f1fc7e 100644 --- a/lib/libpthread/thread/thr_seterrno.c +++ b/lib/libpthread/thread/thr_seterrno.c @@ -47,15 +47,14 @@ void  _thread_seterrno(pthread_t thread, int error)  {  	/* Check for the initial thread: */ -	if (thread == _thread_initial) { +	if (thread == _thread_initial)  		/* The initial thread always uses the global error variable: */  		errno = error; -	} else { +	else  		/*  		 * Threads other than the initial thread always use the error  		 * field in the thread structureL   		 */  		thread->error = error; -	}  }  #endif  | 
