summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-10-18 09:27:51 -0700
committerPixel <pixel@nobis-crew.org>2011-10-18 09:27:51 -0700
commitf6a4a63e6978359f5742136c28a6412f4e0979ac (patch)
tree89cf3f2948bb8c813ef2bbc3f78e945451d763fa
parenta7fb04fdd2397af195ab09afd57372a30ba85de8 (diff)
Fixing clang compilation error.Balau-changes
-rw-r--r--eio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eio.c b/eio.c
index 509c1a2..76acde5 100644
--- a/eio.c
+++ b/eio.c
@@ -1490,7 +1490,7 @@ eio__realpath (struct tmpbuf *tmpbuf, eio_wd wd, const char *path)
errno = ENAMETOOLONG;
if (res + 1 + len + 1 >= tmp1)
- return;
+ return -1;
/* copy one component */
*res = '/';