X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=linux%2Fplat.c;h=ec2aa8bd47575231053eb38c1a532d0808a7a0ae;hb=f342bededbe5d51afd1632e689f5105e50d4f63e;hp=5788d1d53e90c02afab193464113d0a73e1d9fb7;hpb=2b9f9c51e68d4d5746c4ca2cd62b5f7b564ebf8a;p=libpicofe.git diff --git a/linux/plat.c b/linux/plat.c index 5788d1d..ec2aa8b 100644 --- a/linux/plat.c +++ b/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__