From 293f566c0dad7288711c8ec0252c033b61b23bd0 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Tue, 8 Apr 2003 05:49:04 +0000
Subject: [PATCH] Added more printfs to sopen_child_thread().

---
 src/xpdev/wraptest.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/xpdev/wraptest.c b/src/xpdev/wraptest.c
index 58450d9574..5b254d8a55 100644
--- a/src/xpdev/wraptest.c
+++ b/src/xpdev/wraptest.c
@@ -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 */
-- 
GitLab