From e252496a4e7c9ee47ffbd041c7dbb326b605296d Mon Sep 17 00:00:00 2001 From: Axel Kittenberger Date: Wed, 15 Feb 2012 16:47:04 +0100 Subject: [PATCH] oops, fixing linux --- lsyncd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lsyncd.c b/lsyncd.c index 5a6c791..f81afb1 100644 --- a/lsyncd.c +++ b/lsyncd.c @@ -164,7 +164,7 @@ get_realpath(const char * rpath) { // uses c-library to get the absolute path #ifdef __GLIBC__ // in case of GLIBC the task is easy. - return realpath(path, NULL); + return realpath(rpath, NULL); #else # warning having to use old style realpath() // otherwise less so and requires PATH_MAX limit.