Enhance packed fs serving

This commit is contained in:
Sergey Lyubka committed 2021-07-30 17:41:23 +01:00
1 parent 3a46055e52
commit b40b1232cc
5 files changed
+59 -20

No files matched your search

+1 -1
View File
@@ -76,7 +76,7 @@ int main(int argc, char *argv[]) {
for (i = 1; i < argc; i++) {
struct stat st;
stat(argv[i], &st);
printf(" {\"%s\", v%d, sizeof(v%d), %lu},\n", argv[i], i, i, st.st_mtime);
printf(" {\"/%s\", v%d, sizeof(v%d), %lu},\n", argv[i], i, i, st.st_mtime);
}
printf("%s", " {NULL, NULL, 0, 0}\n");
printf("%s", "};\n\n");