src/cmd: print all usage messages to stderr

All utilities print their usage message to stderr,
cmp(1) and getflags(8) should do the same.
This commit is contained in:
Tom Schwindl 2022-08-26 19:18:34 +02:00 committed by Dan Cross
parent 7b8251125b
commit a4af25bc0d
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
void
usage(void)
{
print("status=usage\n");
fprint(2, "status=usage\n");
exits(0);
}