Added missing line breaks in output.

This commit is contained in:
Florian Pose 2024-05-14 18:21:48 +02:00
parent 26b22db16d
commit 5830c42e12
2 changed files with 2 additions and 2 deletions

View File

@ -316,7 +316,7 @@ int main(int argc, char **argv)
struct sched_param param = {};
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, &param) == -1) {
perror("sched_setscheduler failed");
}

View File

@ -349,7 +349,7 @@ int main(int argc, char **argv)
struct sched_param param = {};
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, &param) == -1) {
perror("sched_setscheduler failed");
}