mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-24 03:37:16 +00:00
Diagnostic messages belong on stderr, not stdout. SUSv3 specifies that
renice may not use stdout at all.
This commit is contained in:
parent
d58f1bc48b
commit
03ed70f315
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96761
|
@ -142,7 +142,8 @@ donice(int which, int who, int prio, int incr)
|
|||
warn("%d: setpriority", who);
|
||||
return (1);
|
||||
}
|
||||
printf("%d: old priority %d, new priority %d\n", who, oldprio, prio);
|
||||
fprintf(stderr, "%d: old priority %d, new priority %d\n", who,
|
||||
oldprio, prio);
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue