Skip to content
Snippets Groups Projects
Commit 293f566c authored by rswindell's avatar rswindell
Browse files

Added more printfs to sopen_child_thread().

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