Hi, please review the attached patch
--
markos
>From 3c4f375b923af0ddc64257afbecf1dd2c8efef17 Mon Sep 17 00:00:00 2001
From: Markos Chandras <[email protected]>
Date: Thu, 22 Dec 2011 15:17:34 +0000
Subject: [PATCH 19/21] nfs/nfsstress/make_tree: Fix erroneous cast to void
pointer
Signed-off-by: Markos Chandras <[email protected]>
---
testcases/network/nfs/nfsstress/make_tree.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/testcases/network/nfs/nfsstress/make_tree.c
b/testcases/network/nfs/nfsstress/make_tree.c
index 02d0304..c51e75e 100644
--- a/testcases/network/nfs/nfsstress/make_tree.c
+++ b/testcases/network/nfs/nfsstress/make_tree.c
@@ -202,7 +202,7 @@
#define PTHREAD_EXIT(val) do {\
exit_val = val; \
dprt("pid[%d]: exiting with %d\n", gettid(),exit_val);
\
- pthread_exit((void *)exit_val); \
+ pthread_exit((void *)&exit_val); \
} while (0)
#define OPT_MISSING(prog, opt) do{\
@@ -846,4 +846,4 @@ main(int argc, /* number of input parameters
*/
}
}
return(0);
-}
\ No newline at end of file
+}
--
1.7.1
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list