Skip to content
Snippets Groups Projects
Commit 74f808f4 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Bugs with !HAVE_PTHREAD_KILL: include errno.h. Typo: sig should be signo.

parent 45bf7931
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,9 @@
*/
#include "portable.h"
#include <ac/errno.h>
#include "ldap_pvt_thread.h"
#if defined( HAVE_PTHREADS )
......@@ -95,7 +98,7 @@ ldap_pvt_thread_kill( ldap_pvt_thread_t thread, int signo )
return pthread_kill( thread, signo );
#else
/* pthread package with DCE */
if (kill( getpid(), sig )<0)
if (kill( getpid(), signo )<0)
return errno;
return 0;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment