X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Flinux%2Fplat.c;h=ec2aa8bd47575231053eb38c1a532d0808a7a0ae;hb=21ebcfd322972ea5579bb5d4bedee9e509b42785;hp=5788d1d53e90c02afab193464113d0a73e1d9fb7;hpb=93a7109873b7050a1b347972711982eac1ad7fbc;p=picodrive.git diff --git a/platform/linux/plat.c b/platform/linux/plat.c index 5788d1d..ec2aa8b 100644 --- a/platform/linux/plat.c +++ b/platform/linux/plat.c @@ -1,3 +1,13 @@ +/* + * (C) Gražvydas "notaz" Ignotas, 2008-2010 + * + * This work is licensed under the terms of any of these licenses + * (at your option): + * - GNU GPL, version 2 or later. + * - GNU LGPL, version 2.1 or later. + * See the COPYING file in the top-level directory. + */ + #define _GNU_SOURCE #include #include @@ -38,7 +48,7 @@ int plat_get_root_dir(char *dst, int len) break; } - return 0; + return j; } #ifdef __GP2X__