Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-svn.txt: fix fetch flags incorrectly documented as init flags.
[gitweb.git]
/
dir.c
diff --git
a/dir.c
b/dir.c
index bbfcb566e63310d38848b0b76076fb051a7446c8..74b3bbf6fd557943e0e7b9027556312203e58d7a 100644
(file)
--- a/
dir.c
+++ b/
dir.c
@@
-759,7
+759,7
@@
char *get_relative_cwd(char *buffer, int size, const char *dir)
if (!dir)
return NULL;
if (!getcwd(buffer, size))
- die
("can't find the current directory: %s", strerror(errno)
);
+ die
_errno("can't find the current directory"
);
if (!is_absolute_path(dir))
dir = make_absolute_path(dir);