Got rid of PAGE_SIZE.
authorSapan Bhatia <sapanb@cs.princeton.edu>
Mon, 15 Sep 2008 12:24:37 +0000 (12:24 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Mon, 15 Sep 2008 12:24:37 +0000 (12:24 +0000)
factory/dcookie.c

index f5d01cd..3f991cb 100644 (file)
@@ -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 */
 
 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';
 
                /* In case nothing happens */
                path_buf[0]='\0';