diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2007-05-21 15:57:09 -0400 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2007-05-21 15:57:09 -0400 |
commit | 0f13f242029ad582677557a8daf3cd9eaaf96d9a (patch) | |
tree | 16538d82cef670dfb9d7b8c694128e638683d441 | |
parent | 8530b583afeb191ce5099f1ab4deacba84c84ed0 (diff) |
make showsched usable in scripts
-rw-r--r-- | show_scheduler.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/show_scheduler.c b/show_scheduler.c index 9bd4072..7026e2a 100644 --- a/show_scheduler.c +++ b/show_scheduler.c | |||
@@ -5,7 +5,6 @@ | |||
5 | 5 | ||
6 | int main(int argc, char** argv) { | 6 | int main(int argc, char** argv) { |
7 | spolicy scheduler = sched_getpolicy(); | 7 | spolicy scheduler = sched_getpolicy(); |
8 | printf("Current scheduler: %s (%d)\n", get_scheduler_name(scheduler), | 8 | printf("%s\n", get_scheduler_name(scheduler)); |
9 | scheduler); | ||
10 | return 0; | 9 | return 0; |
11 | } | 10 | } |