mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-08-18 17:17:23 +08:00
Added missing line breaks in output.
This commit is contained in:
@@ -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, ¶m) == -1) {
|
||||
perror("sched_setscheduler failed");
|
||||
}
|
||||
|
||||
@@ -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, ¶m) == -1) {
|
||||
perror("sched_setscheduler failed");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user