Mercurial > hg > CbC > old > DPP
diff scheduler.cbc @ 11:190dadd8405b
Format indent
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 02 Jul 2019 19:52:09 +0900 |
parents | 35d0358b3fe6 |
children |
line wrap: on
line diff
--- a/scheduler.cbc Mon Jul 01 22:18:03 2019 +0900 +++ b/scheduler.cbc Tue Jul 02 19:52:09 2019 +0900 @@ -225,12 +225,12 @@ if (argc == 2) { if (argv[1][0] == '-') { if (argv[1][1] == 'r') { - printf("select random\n"); + printf("select random\n"); get_next_task = get_next_task_random; srandom(time(NULL)); - } else { - printf("FIFO\n"); - get_next_task = get_next_task_fifo; + } else { + printf("FIFO\n"); + get_next_task = get_next_task_fifo; } } }