From: Geert U. <Gee...@so...> - 2009-09-15 15:29:13
|
The call signature seems to match the set_tid_address() syscall. Also remove the comment about calling quotactl, as it's obviously bogus. Signed-off-by: Geert Uytterhoeven <Gee...@so...> --- testcases/kernel/syscalls/quotactl/quotactl01.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/testcases/kernel/syscalls/quotactl/quotactl01.c b/testcases/kernel/syscalls/quotactl/quotactl01.c index fe8df33..f410948 100644 --- a/testcases/kernel/syscalls/quotactl/quotactl01.c +++ b/testcases/kernel/syscalls/quotactl/quotactl01.c @@ -152,7 +152,7 @@ int main(int ac, char **av) { tst_resm(TPASS, "quotactl call succeeded"); } } - TEST(result = syscall(258, &newtid)); //call quotactl() + TEST(result = syscall(__NR_set_tid_address, &newtid)); if(TEST_RETURN == getpid()) { cleanup(); } -- 1.6.2.4 With kind regards, Geert Uytterhoeven Software Architect Techsoft Centre Technology and Software Centre Europe The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium Phone: +32 (0)2 700 8453 Fax: +32 (0)2 700 8622 E-mail: Gee...@so... Internet: http://www.sony-europe.com/ A division of Sony Europe (Belgium) N.V. VAT BE 0413.825.160 · RPR Brussels Fortis · BIC GEBABEBB · IBAN BE41293037680010 |