From 2e6506e88f69c637fbbd586d75cdde8b5bdf4f35 Mon Sep 17 00:00:00 2001 From: Greg Haerr Date: Fri, 15 Nov 2024 18:07:16 -0800 Subject: [PATCH] Update some file comments --- elks/include/linuxmt/minix_fs.h | 2 +- elks/init/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/elks/include/linuxmt/minix_fs.h b/elks/include/linuxmt/minix_fs.h index 695ccadbd..e20e3bffd 100644 --- a/elks/include/linuxmt/minix_fs.h +++ b/elks/include/linuxmt/minix_fs.h @@ -39,7 +39,7 @@ struct minix_inode_info { }; /* This is the original minix inode layout on disk. - * Note the 8-bit gid and atime and ctime. + * Note the 8-bit gid and missing atime and ctime. */ struct minix_inode { __u16 i_mode; diff --git a/elks/init/main.c b/elks/init/main.c index dfcb8dca5..c9ac5eb81 100644 --- a/elks/init/main.c +++ b/elks/init/main.c @@ -448,7 +448,7 @@ static int INITPROC parse_options(void) fmemcpyb(opts.options, kernel_ds, 0, DEF_OPTSEG, sizeof(opts.options)); #pragma GCC diagnostic ignored "-Wstrict-aliasing" - /* check file starts with ##, one or two sectors, max 1023 bytes */ + /* check file starts with ##, one or two sectors, max 1023 bytes or 511 one sector */ if (*(unsigned short *)opts.options != 0x2323 || (opts.options[511] && opts.options[OPTSEGSZ-1])) return 0;