ext2fs_h.diff

--- ext2fs.h Mon Jul 14 03:54:13 2014
+++ /home/matt/OpenBSD/ext2fs.h Fri Mar 13 17:31:36 2015
@@ -156,7 +156,7 @@
  u_int32_t  e2fs_first_meta_bg;
  u_int32_t  e2fs_mkfs_time;
  u_int32_t  e2fs_journal_backup[17];
- u_int32_t  reserved2[76];
+ u_int32_t  reserved2[172];
 };

The resize of reserved2[] brings the superblock up to the 1KiB spec
shown in GNU/Linux.

firmload_c.diff

--- firmload.c Sat Feb 28 14:31:55 2015
+++ /root/firmload.c~ Sat Feb 28 14:18:40 2015
@@ -19,10 +19,8 @@
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/syslimits.h>
-#include <sys/time.h>
 #include <sys/namei.h>
 #include <sys/vnode.h>
-#include <sys/mount.h>
 #include <sys/errno.h>
 #include <sys/malloc.h>
 #include <sys/proc.h>

Removes extraneous header files. I found no reference to the
function/macros used in sys/mount.h and sys/time.h for firmload.c

-- 
Matthew Markfort
Microsoft Certified Professional

Reply via email to