Added missing line breaks in output.
This commit is contained in:
parent
26b22db16d
commit
5830c42e12
|
|
@ -316,7 +316,7 @@ int main(int argc, char **argv)
|
||||||
struct sched_param param = {};
|
struct sched_param param = {};
|
||||||
param.sched_priority = sched_get_priority_max(SCHED_FIFO);
|
param.sched_priority = sched_get_priority_max(SCHED_FIFO);
|
||||||
|
|
||||||
printf("Using priority %i.", param.sched_priority);
|
printf("Using priority %i.\n", param.sched_priority);
|
||||||
if (sched_setscheduler(0, SCHED_FIFO, ¶m) == -1) {
|
if (sched_setscheduler(0, SCHED_FIFO, ¶m) == -1) {
|
||||||
perror("sched_setscheduler failed");
|
perror("sched_setscheduler failed");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -349,7 +349,7 @@ int main(int argc, char **argv)
|
||||||
struct sched_param param = {};
|
struct sched_param param = {};
|
||||||
param.sched_priority = sched_get_priority_max(SCHED_FIFO);
|
param.sched_priority = sched_get_priority_max(SCHED_FIFO);
|
||||||
|
|
||||||
printf("Using priority %i.", param.sched_priority);
|
printf("Using priority %i.\n", param.sched_priority);
|
||||||
if (sched_setscheduler(0, SCHED_FIFO, ¶m) == -1) {
|
if (sched_setscheduler(0, SCHED_FIFO, ¶m) == -1) {
|
||||||
perror("sched_setscheduler failed");
|
perror("sched_setscheduler failed");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue