X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Flinux%2Fplat.c;h=b7152b55538b5aff9677f64da8bc78f0705613f7;hb=bc3f85abed41fa96bb59a869eea44af6ec9c29d2;hp=1e107f4e89ed098ad926f4d9a8918c65fae2c1fb;hpb=9c5a64a0478c1c663e891273cb61dee260d16479;p=picodrive.git diff --git a/platform/linux/plat.c b/platform/linux/plat.c index 1e107f4..b7152b5 100644 --- a/platform/linux/plat.c +++ b/platform/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__