1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-25 18:58:25 +02:00

set correct directory for disk check

Signed-off-by: Mirko Lindner <mirko@sharism.cc>
This commit is contained in:
Mirko Lindner 2010-02-15 00:03:31 +01:00
parent daac97496b
commit a1eb23eec1

View File

@ -1869,8 +1869,7 @@ string GMenu2X::getDiskFree() {
string df = "";
struct statvfs b;
// int ret = statvfs("/card/gmenu2x", &b);
int ret = statvfs("/home/vegyraupe/work/qi/NanoNote/Ben/sw/gmenu2x/pandora/gmenu2x", &b);
int ret = statvfs("/card/gmenu2x", &b);
if (ret==0) {
/*unsigned long free = b.f_bfree*b.f_frsize/1048576;
unsigned long total = b.f_blocks*b.f_frsize/1048576;