style fixes
This commit is contained in:
+6
-5
@@ -1,7 +1,8 @@
|
||||
#include <stdio.h>
|
||||
#include <sysexits.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/wait.h>
|
||||
#include <stdio.h> /* fprintf(3), stderr */
|
||||
#include <sysexits.h> /* EX_USAGE */
|
||||
#include <unistd.h> /* execvp(3) */
|
||||
#include <sys/types.h> /* <sys/wait.h> */
|
||||
#include <sys/wait.h> /* wait(2) */
|
||||
|
||||
#include "psargs.h"
|
||||
|
||||
@@ -31,7 +32,7 @@ forking(char **argv){
|
||||
|
||||
int main(int argc, char *argv[]){
|
||||
|
||||
if((check_arg(++argv, L_PAREN, R_PAREN)) == 0){
|
||||
if(check_arg(++argv, L_PAREN, R_PAREN) == 0){
|
||||
fprintf(stderr,
|
||||
"Usage: %s \"[\" [utility [argument...]] \"]\" ...\n",
|
||||
argv[-1] == NULL ? program_name : argv[-1]
|
||||
|
||||
Reference in New Issue
Block a user