From 728c36bfac09d2c01e61e28dc2bc13527f727091 Mon Sep 17 00:00:00 2001 From: kato Date: Fri, 19 Mar 1999 15:58:05 +0000 Subject: [PATCH] Sync with sys/boot/i386/libi386/bootinfo.c revision 1.18. --- sys/boot/pc98/libpc98/bootinfo.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/boot/pc98/libpc98/bootinfo.c b/sys/boot/pc98/libpc98/bootinfo.c index edac868499a4..902cefef73ca 100644 --- a/sys/boot/pc98/libpc98/bootinfo.c +++ b/sys/boot/pc98/libpc98/bootinfo.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: bootinfo.c,v 1.1 1999/02/03 08:39:09 kato Exp $ + * $Id: bootinfo.c,v 1.2 1999/03/10 13:40:29 kato Exp $ */ #include @@ -210,7 +210,8 @@ bi_copymodules(vm_offset_t addr) MOD_NAME(addr, mp->m_name); /* this field must come first */ MOD_TYPE(addr, mp->m_type); - MOD_ARGS(addr, mp->m_args); + if (mp->m_args) + MOD_ARGS(addr, mp->m_args); MOD_ADDR(addr, mp->m_addr); MOD_SIZE(addr, mp->m_size); for (md = mp->m_metadata; md != NULL; md = md->md_next)