From: Mike F. <va...@us...> - 2007-02-09 20:48:28
|
Update of /cvsroot/ltp/ltp/testcases/kernel/syscalls/ipc/shmat In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv9275/testcases/kernel/syscalls/ipc/shmat Modified Files: shmat01.c Log Message: random updates from Jane Lv for uClinux Index: shmat01.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/ipc/shmat/shmat01.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** shmat01.c 31 Jan 2006 14:56:10 -0000 1.8 --- shmat01.c 9 Feb 2007 20:48:23 -0000 1.9 *************** *** 59,63 **** char *TCID = "shmat01"; - int TST_TOTAL = 3; extern int Tst_count; --- 59,62 ---- *************** *** 94,97 **** --- 93,97 ---- {&shm_id_1, 0, SHM_RDONLY} }; + int TST_TOTAL = sizeof(TC) / sizeof(*TC); int main(int ac, char **av) |