large file storage WIP. Can save and verify a large file under yaffs direct.
[yaffs2.git] / linux-tests / writebigsparse.c
index 0d701285d4356bd794877927437f6cc1371a6b50..fab2d168727dd98a6ec0cdf789be019a5ee36205 100644 (file)
@@ -36,6 +36,7 @@ void write_big_sparse_file(int h)
                if(pos != offset) {
                        printf("mismatched seek pos %lld offset %lld\n",
                                pos, offset);
+                       perror("lseek64");
                        exit(1);
                }
                wrote = write(h, buffer, n);