mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
perror: style nits
This commit is contained in:
parent
adc02d5e3c
commit
0963af50e9
1 changed files with 3 additions and 3 deletions
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
static void usage(void) __dead2;
|
||||
|
||||
int
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
char *cp;
|
||||
|
|
@ -63,7 +63,7 @@ main(int argc, char **argv)
|
|||
if (errno != 0)
|
||||
err(EXIT_FAILURE, NULL);
|
||||
|
||||
if ((errstr = strerror(errnum)) == NULL)
|
||||
if ((errstr = strerror(errnum)) == NULL)
|
||||
err(EXIT_FAILURE, NULL);
|
||||
|
||||
printf("%s\n", errstr);
|
||||
|
|
@ -71,7 +71,7 @@ main(int argc, char **argv)
|
|||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
static void
|
||||
static void
|
||||
usage(void)
|
||||
{
|
||||
fprintf(stderr, "usage: perror number\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue