Page MenuHomeFreeBSD

D59415.diff
No OneTemporary

D59415.diff

diff --git a/stand/common/md.c b/stand/common/md.c
--- a/stand/common/md.c
+++ b/stand/common/md.c
@@ -34,9 +34,8 @@
#define MD_BLOCK_SIZE 512
-#ifndef MD_IMAGE_SIZE
-#error Must be compiled with MD_IMAGE_SIZE defined
-#endif
+#ifdef MD_IMAGE_SIZE
+
#if (MD_IMAGE_SIZE == 0 || MD_IMAGE_SIZE % MD_BLOCK_SIZE)
#error Image size must be a multiple of 512.
#endif
@@ -152,3 +151,4 @@
printf("MD (%u bytes)", MD_IMAGE_SIZE);
return (pager_output("\n"));
}
+#endif

File Metadata

Mime Type
text/plain
Expires
Wed, Sep 9, 7:28 AM (4 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38353836
Default Alt Text
D59415.diff (473 B)

Event Timeline