hi,

There is a little bug in mlockall/3-7.c.
Here is the patch.
Thanks.:)

Signed-off-by: Tang Chen <[email protected]>
---
 .../conformance/interfaces/mlockall/3-7.c          |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/testcases/open_posix_testsuite/conformance/interfaces/mlockall/3-7.c 
b/testcases/open_posix_testsuite/conformance/interfaces/mlockall/3-7.c
index 93eb300..f357b33 100644
--- a/testcases/open_posix_testsuite/conformance/interfaces/mlockall/3-7.c
+++ b/testcases/open_posix_testsuite/conformance/interfaces/mlockall/3-7.c
@@ -31,7 +31,7 @@ int main() {
                return PTS_UNRESOLVED;
        }
 
-       fd = open("conformance/interfaces/mlockall/3-7.c", O_RDONLY);
+       fd = open("./3-7.c", O_RDONLY);
        if (fd == -1) {
                perror("An error occurs when calling open()");
                return PTS_UNRESOLVED;
@@ -64,4 +64,4 @@ int main() {
        }
        perror("Unexpected error");
        return PTS_UNRESOLVED;
-}
\ No newline at end of file
+}
-- 
1.7.1




-- 
Best Regards,
Tang chen


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to