Skip to content
Snippets Groups Projects
Commit 0071d684 authored by rswindell's avatar rswindell
Browse files

Added printf to sopen_child_thread().

parent aea8343b
No related branches found
No related tags found
No related merge requests found
......@@ -296,6 +296,7 @@ static void sopen_child_thread(void* arg)
{
int fd;
printf("sopen_child_thread: %d",arg);
if((fd=sopen(LOCK_FNAME,O_RDWR,SH_DENYWR))!=-1) {
if(arg)
printf("!FAILURE: was able to reopen in child thread\n");
......@@ -305,4 +306,6 @@ static void sopen_child_thread(void* arg)
close(fd);
} else if(arg==0)
perror(LOCK_FNAME);
}
\ No newline at end of file
}
/* End of wraptest.c */
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