Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/unix
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-04-15 22:00:42 +0400
committerCarlos Martín Nieto <cmn@dwim.me>2013-04-15 22:00:42 +0400
commit872ca1d302c571d47d9685179cbc6af84130f703 (patch)
treeef299d2a6a57377d36dd52d76cc46ff00fe5d312 /src/unix
parent2d2260da41ddf22fd5c5f0c39ce16fad1548f29e (diff)
Fix compilation on OpenBSD
Diffstat (limited to 'src/unix')
-rw-r--r--src/unix/realpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/realpath.c b/src/unix/realpath.c
index f382c2b73..15601bd22 100644
--- a/src/unix/realpath.c
+++ b/src/unix/realpath.c
@@ -22,7 +22,7 @@ char *p_realpath(const char *pathname, char *resolved)
/* Figure out if the file exists */
if (!access(ret, F_OK))
- ret;
+ return ret;
return NULL;
}