X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=shell.c;h=e4864e04da3b0e237342c2ca0548c0ec0082c171;hb=c42b00c8f2b8c04ff9829e88dcde92d7294cd460;hp=b968be79f487f8d93e205fd0a844a206e24f21f8;hpb=ba7e81430a32614982172c7064c01db43f55b4bb;p=git.git diff --git a/shell.c b/shell.c index b968be79f..e4864e04d 100644 --- a/shell.c +++ b/shell.c @@ -60,7 +60,7 @@ int main(int argc, char **argv) while (devnull_fd >= 0 && devnull_fd <= 2) devnull_fd = dup(devnull_fd); if (devnull_fd == -1) - die("opening /dev/null failed (%s)", strerror(errno)); + die_errno("opening /dev/null failed"); close (devnull_fd); /*