diff options
Diffstat (limited to 'extra.h')
| -rw-r--r-- | extra.h | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -120,7 +120,7 @@ static void _rt_load_params_itrl(int argc, char **argv) { | |||
| 120 | _rt_will_output = atoi(argv[7]); | 120 | _rt_will_output = atoi(argv[7]); |
| 121 | char *pairId; | 121 | char *pairId; |
| 122 | int end; | 122 | int end; |
| 123 | if (argc > 8) { | 123 | if (argc > 7) { |
| 124 | pairId = argv[8]; | 124 | pairId = argv[8]; |
| 125 | end = 9; | 125 | end = 9; |
| 126 | } else { | 126 | } else { |
| @@ -204,7 +204,7 @@ static void _rt_load_params_itrl(int argc, char **argv) { | |||
| 204 | #if LITMUS | 204 | #if LITMUS |
| 205 | _rt_period = strtoul(argv[end], NULL, 10); | 205 | _rt_period = strtoul(argv[end], NULL, 10); |
| 206 | unsigned int crit = atoi(argv[end+1]); | 206 | unsigned int crit = atoi(argv[end+1]); |
| 207 | unsigned int wait = 0; | 207 | unsigned int wait = 1; |
| 208 | if (be_migrate_to_domain(_rt_core) < 0) { | 208 | if (be_migrate_to_domain(_rt_core) < 0) { |
| 209 | perror("Unable to migrate to specified CPU"); | 209 | perror("Unable to migrate to specified CPU"); |
| 210 | exit(1); | 210 | exit(1); |
