X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=linux%2Fplat.c;h=b7152b55538b5aff9677f64da8bc78f0705613f7;hb=705bdf63669b4703c79b10342b21acc97a14107c;hp=1e107f4e89ed098ad926f4d9a8918c65fae2c1fb;hpb=957a9eac908ae7ad5c46089346e51433fe6f74ec;p=libpicofe.git diff --git a/linux/plat.c b/linux/plat.c index 1e107f4..b7152b5 100644 --- a/linux/plat.c +++ b/linux/plat.c @@ -8,7 +8,7 @@ * See the COPYING file in the top-level directory. */ -#define _GNU_SOURCE +#define _GNU_SOURCE 1 #include #include #include @@ -48,7 +48,7 @@ int plat_get_root_dir(char *dst, int len) break; } - return 0; + return j; } #ifdef __GP2X__