Skip to content

Commit

Permalink
Update exit_stat.c
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePrimeJnr authored Jul 26, 2023
1 parent 7ac425a commit fb98b9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exit_stat.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ int exit_stat(char *exit_status)
exit(status);
}

_fprintf(2, "%s: %i: exit: ", shell, shell_index);
_fprintf(2, "Illegal number: %s\n", exit_status);
_fprintf(2, "%a: %b: exit: ", shell, shell_index, "nill");
_fprintf(2, "Illegal number: %a\n", exit_status, 0, "nill");

return (2);
}

0 comments on commit fb98b9a

Please sign in to comment.