On Thu, Jan 6, 2011 at 6:10 AM, tangchen wrote:
> --- a/testcases/kernel/syscalls/sched_setparam/sched_setparam03.c
> +++ b/testcases/kernel/syscalls/sched_setparam/sched_setparam03.c
> @@ -121,7 +121,8 @@ int main(int ac, char **av)
>              TEST(sched_setparam(getppid(), &param));
>
>              if (TEST_RETURN == -1) {
> -                perror("sched_setparam returned %ld", TEST_RETURN);
> +                fprintf(stderr, "sched_setparam returned %ld: "
> +                    "%s\n", TEST_RETURN, strerror(errno));
>                  exit(0);
>              }
>              exit(1);

odd, this should have caused a compile error ...

also, i wonder why this test isnt using tst_* helpers for its output ...
-mike

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to