commit | c2e62ed58373ec174e834da74fc9e76e6285921a | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Wed Mar 10 17:04:18 2021 -0800 |
committer | swissChili <swisschili@fastmail.com> | Wed Mar 10 17:04:18 2021 -0800 |
tree | 5fd68fe8e21726254e9966af23fc79814a7f3bd1 | |
parent | b7fe89909815ede723c0f35acc5da4f1d4b4ba92 [diff] |
Fix mkinitrd, add vfs_initrd stub
diff --git a/src/mkinitrd/main.c b/src/mkinitrd/main.c index f2b3f71..5e4a66d 100644 --- a/src/mkinitrd/main.c +++ b/src/mkinitrd/main.c
@@ -54,6 +54,8 @@ }; strcpy(file.name, argv[i + 2]); + fwrite(&file, sizeof(file), 1, out); +// fprintf(stderr, "file name is %s, sizeof(file) = 0x%lx\n", file.name, sizeof(file)); char c; while ((c = getc(in)) != EOF)