@@ -1079,7 +1079,7 @@ static void console_init()
10791079 "Remove from tail of queue. Optionally compare to expected value str" ,
10801080 "[str]" );
10811081 ADD_COMMAND (reverse , "Reverse queue" , "" );
1082- ADD_COMMAND (sort , "Sort queue in ascending/descening order" , "" );
1082+ ADD_COMMAND (sort , "Sort queue in ascending/descending order" , "" );
10831083 ADD_COMMAND (size , "Compute queue size n times (default: n == 1)" , "[n]" );
10841084 ADD_COMMAND (show , "Show queue contents" , "" );
10851085 ADD_COMMAND (dm , "Delete middle node in queue" , "" );
@@ -1165,11 +1165,11 @@ static bool q_quit(int argc, char *argv[])
11651165
11661166static void usage (char * cmd )
11671167{
1168- printf ("Usage: %s [-h] [-f IFILE ][-v VLEVEL ][-l LFILE] \n" , cmd );
1168+ printf ("Usage: %s [-h] [-f FILE ][-v LEVEL ][-l LOG \n" , cmd );
11691169 printf ("\t-h Print this information\n" );
1170- printf ("\t-f IFILE Read commands from IFILE \n" );
1171- printf ("\t-v VLEVEL Set verbosity level\n" );
1172- printf ("\t-l LFILE Echo results to LFILE \n" );
1170+ printf ("\t-f FILE Read commands from FILE \n" );
1171+ printf ("\t-v LEVEL Set verbosity level\n" );
1172+ printf ("\t-l LOG Echo results to LOG \n" );
11731173 exit (0 );
11741174}
11751175
@@ -1208,7 +1208,6 @@ bool commit_exists(const char *commit_hash)
12081208 posix_spawn_file_actions_t actions ;
12091209 if (posix_spawn_file_actions_init (& actions ) != 0 ) {
12101210 /* Error initializing spawn file actions */
1211- perror ("posix_spawn_file_actions_init" );
12121211 close (pipefd [0 ]);
12131212 close (pipefd [1 ]);
12141213 return false;
@@ -1217,7 +1216,6 @@ bool commit_exists(const char *commit_hash)
12171216 /* Redirect child's stdout to the pipe's write end */
12181217 if (posix_spawn_file_actions_adddup2 (& actions , pipefd [1 ], STDOUT_FILENO ) !=
12191218 0 ) {
1220- perror ("posix_spawn_file_actions_adddup2" );
12211219 posix_spawn_file_actions_destroy (& actions );
12221220 close (pipefd [0 ]);
12231221 close (pipefd [1 ]);
@@ -1227,7 +1225,6 @@ bool commit_exists(const char *commit_hash)
12271225 /* Close unused pipe ends in the child */
12281226 if (posix_spawn_file_actions_addclose (& actions , pipefd [0 ]) != 0 ||
12291227 posix_spawn_file_actions_addclose (& actions , pipefd [1 ]) != 0 ) {
1230- perror ("posix_spawn_file_actions_addclose" );
12311228 posix_spawn_file_actions_destroy (& actions );
12321229 close (pipefd [0 ]);
12331230 close (pipefd [1 ]);
0 commit comments