From: Jim G. <Jim.Grohn@Agile.TV> - 2002-02-25 00:18:56
|
"param" is not set up to point at anything ==================== main(int ac, char **av) { int lc; /* loop counter */ char *msg; /* message returned by parse_opts */ int i, retval; struct sched_param *param; /* parse standard options */ if ((msg = parse_opts(ac, av, (option_t *)NULL, NULL)) != (char *)NULL){ tst_brkm(TBROK, tst_exit, "OPTION PARSING ERROR - %s", msg); /*NOTREACHED*/ } setup(); /* check looping state if -i option is given */ for (lc = 0; TEST_LOOPING(lc); lc++) { /* reset Tst_count in case we are looping */ Tst_count = 0; /* loop through the test cases */ for (i = 0; i < TST_TOTAL; i++) { /* set up test specific conditions */ param->sched_priority = TC[i].prio; |