Module Name: src
Committed By: hannken
Date: Fri Oct 18 14:59:22 UTC 2019
Modified Files:
src/sys/arch/x86/x86: multiboot2.c
Log Message:
Make compile with "options DEBUG".
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x86/x86/multiboot2.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/x86/multiboot2.c
diff -u src/sys/arch/x86/x86/multiboot2.c:1.1 src/sys/arch/x86/x86/multiboot2.c:1.2
--- src/sys/arch/x86/x86/multiboot2.c:1.1 Fri Oct 18 01:38:28 2019
+++ src/sys/arch/x86/x86/multiboot2.c Fri Oct 18 14:59:22 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: multiboot2.c,v 1.1 2019/10/18 01:38:28 manu Exp $ */
+/* $NetBSD: multiboot2.c,v 1.2 2019/10/18 14:59:22 hannken Exp $ */
/*-
* Copyright (c) 2005, 2006 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: multiboot2.c,v 1.1 2019/10/18 01:38:28 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: multiboot2.c,v 1.2 2019/10/18 14:59:22 hannken Exp $");
#include "opt_multiboot.h"
@@ -784,6 +784,9 @@ multiboot2_print_info(void)
char *cp;
uint32_t total_size;
uint32_t reserved;
+#ifdef DEBUG
+ int i = 0;
+#endif
if (multiboot2_enabled == false)
goto out;