From 15e5b9b9f7dd07f253d31fac1b95c1e29da68075 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 4 Jan 2016 16:14:30 +0100 Subject: [PATCH] Fixed: Compilation --- code/nel/src/misc/system_info.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/src/misc/system_info.cpp b/code/nel/src/misc/system_info.cpp index f621c4e68..aa826bccd 100644 --- a/code/nel/src/misc/system_info.cpp +++ b/code/nel/src/misc/system_info.cpp @@ -1057,7 +1057,7 @@ uint64 CSystemInfo::availableHDSpace (const string &filename) struct statfs stfs; if (::stat(path.c_str(), &stst) == -1) return 0; - if (::statfs(c_str(), &stfs) == -1) return 0; + if (::statfs(path.c_str(), &stfs) == -1) return 0; return (uint64)(stfs.f_bavail * stst.st_blksize); #else