sleep(1): style fixes
This commit is contained in:
parent
38b4853cf5
commit
6ca7b9e612
@ -1,4 +1,3 @@
|
|||||||
#include <ctype.h> /* isdigit(3) */
|
|
||||||
#include <errno.h> /* errno */
|
#include <errno.h> /* errno */
|
||||||
#include <stdio.h> /* fprintf(3), stderr */
|
#include <stdio.h> /* fprintf(3), stderr */
|
||||||
#include <stdlib.h> /* strtol(3) */
|
#include <stdlib.h> /* strtol(3) */
|
||||||
@ -12,7 +11,8 @@ int main(int argc, char **argv){
|
|||||||
extern int errno;
|
extern int errno;
|
||||||
|
|
||||||
if(argc != 2){
|
if(argc != 2){
|
||||||
usage: fprintf(stderr, "Usage: %s [seconds]\n", argv[0] == NULL ? program_name : argv[0]);
|
usage: fprintf(stderr, "Usage: %s [seconds]\n",
|
||||||
|
argv[0] == NULL ? program_name : argv[0]);
|
||||||
return EX_USAGE;
|
return EX_USAGE;
|
||||||
}
|
}
|
||||||
errno = 0;
|
errno = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user