Skip to contentSkip to conversation

: Fix dprt() function call by adding gettid()

PATCH In review Manjeet Pawar 2 participants 2 messages May 27, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : Fix dprt() function call by adding gettid()

From: Manjeet Pawar <[email protected]>

This patch adds missing gettid() function call in dprt

---
 testcases/network/nfs/nfsstress/make_tree.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/network/nfs/nfsstress/make_tree.c +1 -1
index 7b18da3..99252ae 100644
@@ -319,7 +319,7 @@ static int init_compile(int what_todo,	/* do a compile or clean             */
 				return 1;
 			}
 
-			dprt("pid[%d]: init_compile(): status = %d\n", status);
+			dprt("pid[%d]: init_compile(): status = %d\n", gettid(), status);
 			dprt("we are here %d\n", __LINE__);
 			return status;
 		}
Signature · 6 lines
1.7.9.5
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#1 lore raw

Hi!

Quoted 4 lines

This patch adds missing gettid() function call in dprt

This has been fixed a few days ago by:

commit 16ff436309f47503338ed07ef95523cd5d6092dc

Author: Wei,Jiangang <[email protected]>
Date:   Wed May 13 19:19:46 2015 +0800

network/nfs/nfsstress: fix printf format

format string requires 2 parameters but only 1 is given

Thanks for the effort anyway. :)

Signature · 8 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list