X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Flinux%2Fplat.c;h=b7152b55538b5aff9677f64da8bc78f0705613f7;hp=1e107f4e89ed098ad926f4d9a8918c65fae2c1fb;hb=7badc9353b9570fd1c67827cfb477cef07974ddb;hpb=698517be481301b4525c29873134a67b8343af3c diff --git a/frontend/linux/plat.c b/frontend/linux/plat.c index 1e107f4e..b7152b55 100644 --- a/frontend/linux/plat.c +++ b/frontend/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__