Hi,

Here follow a small patch that fix a typo in sgetmask01.c testcase,
where __NR_ssetmask is badly used instead of __NR_sgetmask.

Regards.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.
Index: testcases/kernel/syscalls/sgetmask/sgetmask01.c
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/sgetmask/sgetmask01.c,v
retrieving revision 1.1
diff -u -p -r1.1 sgetmask01.c
--- testcases/kernel/syscalls/sgetmask/sgetmask01.c     21 May 2009 18:35:31 
-0000      1.1
+++ testcases/kernel/syscalls/sgetmask/sgetmask01.c     16 Jun 2009 09:45:37 
-0000
@@ -141,7 +141,7 @@ int main(int ac, char **av) {
                        for (sig = -3; sig <= SIGRTMAX + 1; sig++){
                                TEST(syscall(__NR_ssetmask,sig));
                                tst_resm(TINFO,"Setting signal : %d -- return 
of setmask : %d",sig,TEST_RETURN);     //call sgetmask()
-                               TEST(syscall(__NR_ssetmask));     //call 
sgetmask()
+                               TEST(syscall(__NR_sgetmask));     //call 
sgetmask()
                                if(TEST_RETURN != sig) {
                                        tst_resm(TINFO,"Oops,setting sig %d, 
got %d",sig,TEST_RETURN);
                                } else
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to