X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=factory%2Fdcookie.c;h=ca22353f0d1c6527b8a58f8f44e4e3757b462dad;hb=5ee76017ca66e612f1d4eed511a2bfc4be041a59;hp=f5d01cd6e3c8eb93b515a47464fbc07fd6e031df;hpb=89a133fe09ec89eb8ff01b8c07eebf979b444e44;p=vsys.git diff --git a/factory/dcookie.c b/factory/dcookie.c index f5d01cd..ca22353 100644 --- a/factory/dcookie.c +++ b/factory/dcookie.c @@ -4,7 +4,7 @@ #define __NR_LOOKUP_DCOOKIE 253 #include -#include +/*#include */ #include #include #include @@ -20,7 +20,7 @@ int lookup_dcookie(uint64_t cookie, char * buf, size_t size) int main(int argc,char *argv[]) { /* fs/dcookie.c uses PAGE_SIZE */ - char path_buf[PAGE_SIZE],dcookie_buf[sizeof(INT64_MAXSZ)]; + char path_buf[16384],dcookie_buf[sizeof(INT64_MAXSZ)]; /* In case nothing happens */ path_buf[0]='\0';