* [LTP] [PATCH]: Fix dprt() function call by adding gettid()
@ 2015-05-27 3:47 Manjeet Pawar
2015-05-27 9:22 ` Cyril Hrubis
0 siblings, 1 reply; 2+ messages in thread
From: Manjeet Pawar @ 2015-05-27 3:47 UTC (permalink / raw)
To: ltp-list, Yogesh Narayan Gaur
From: Manjeet Pawar <manjeet.p@samsung.com>
This patch adds missing gettid() function call in dprt
Signed-off-by: Manjeet Pawar <manjeet.p@samsung.com>
Reviewed-by: Yogesh Gaur <yn.gaur@samsung.com>
---
testcases/network/nfs/nfsstress/make_tree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testcases/network/nfs/nfsstress/make_tree.c b/testcases/network/nfs/nfsstress/make_tree.c
index 7b18da3..99252ae 100644
--- a/testcases/network/nfs/nfsstress/make_tree.c
+++ b/testcases/network/nfs/nfsstress/make_tree.c
@@ -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;
}
--
1.7.9.5
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [LTP] [PATCH]: Fix dprt() function call by adding gettid()
2015-05-27 3:47 [LTP] [PATCH]: Fix dprt() function call by adding gettid() Manjeet Pawar
@ 2015-05-27 9:22 ` Cyril Hrubis
0 siblings, 0 replies; 2+ messages in thread
From: Cyril Hrubis @ 2015-05-27 9:22 UTC (permalink / raw)
To: Manjeet Pawar; +Cc: ltp-list, Yogesh Narayan Gaur
Hi!
> This patch adds missing gettid() function call in dprt
>
> Signed-off-by: Manjeet Pawar <manjeet.p@samsung.com>
> Reviewed-by: Yogesh Gaur <yn.gaur@samsung.com>
This has been fixed a few days ago by:
commit 16ff436309f47503338ed07ef95523cd5d6092dc
Author: Wei,Jiangang <weijg.fnst@cn.fujitsu.com>
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
Signed-off-by: Wei,Jiangang <weijg.fnst@cn.fujitsu.com>
Thanks for the effort anyway. :)
--
Cyril Hrubis
chrubis@suse.cz
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-27 9:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-27 3:47 [LTP] [PATCH]: Fix dprt() function call by adding gettid() Manjeet Pawar
2015-05-27 9:22 ` Cyril Hrubis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox