Skip to content

Commit

Permalink
Send usage to stderr and ask what our name is
Browse files Browse the repository at this point in the history
  • Loading branch information
Freaky committed Feb 22, 2020
1 parent fbfa918 commit 4d9bd78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checkrestart.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ static int termwidth = 0;
static void
usage(void)
{
printf("usage: checkrestart [-bHw] [pid [pid ...]]\n");
fprintf(stderr, "usage: %s [-bHw] [pid [pid ...]]\n", getprogname());
exit(EXIT_FAILURE);
}

Expand Down

0 comments on commit 4d9bd78

Please sign in to comment.