Make buffers larger to stop compiler complaining
authorCharles Manning <cdhmanning@gmail.com>
Fri, 15 May 2020 01:44:10 +0000 (13:44 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Fri, 15 May 2020 01:44:10 +0000 (13:44 +1200)
The buffers were not overflowing, but the check was complaining.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
direct/test-framework/basic-tests/dtest.c

index 8d1b991..1a98bcb 100644 (file)
@@ -519,7 +519,7 @@ void dumpDirFollow(const char *dname)
        yaffs_DIR *d;
        struct yaffs_dirent *de;
        struct yaffs_stat s;
-       char str[100];
+       char str[300];
 
        d = yaffs_opendir(dname);
 
@@ -970,7 +970,7 @@ int huge_directory_test_on_path(char *path)
        int total = 0;
        int lastTotal = 0;
 
-       char str[100];
+       char str[300];
 
 
        yaffs_start_up();