From f6a4a63e6978359f5742136c28a6412f4e0979ac Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 18 Oct 2011 09:27:51 -0700 Subject: Fixing clang compilation error. --- eio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = '/'; -- cgit v1.2.3