Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t0101: use a fixed timestamp when searching in the reflog
[gitweb.git]
/
shell.c
diff --git
a/shell.c
b/shell.c
index b968be79f487f8d93e205fd0a844a206e24f21f8..e4864e04da3b0e237342c2ca0548c0ec0082c171 100644
(file)
--- 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);
/*