Module Name: src
Committed By: mrg
Date: Thu Jun 23 12:07:00 UTC 2011
Modified Files:
src/sys/arch/i386/stand/boot: boot2.c
Log Message:
cast a uint8_t * to a char * for a function that takes char *.
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/arch/i386/stand/boot/boot2.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/i386/stand/boot/boot2.c
diff -u src/sys/arch/i386/stand/boot/boot2.c:1.54 src/sys/arch/i386/stand/boot/boot2.c:1.55
--- src/sys/arch/i386/stand/boot/boot2.c:1.54 Thu May 26 04:25:27 2011
+++ src/sys/arch/i386/stand/boot/boot2.c Thu Jun 23 12:07:00 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: boot2.c,v 1.54 2011/05/26 04:25:27 uebayasi Exp $ */
+/* $NetBSD: boot2.c,v 1.55 2011/06/23 12:07:00 mrg Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -356,7 +356,7 @@
bootmenu(); /* does not return */
} else {
/* DO ask for password */
- if (check_password(boot_params.bp_password)) {
+ if (check_password((char *)boot_params.bp_password)) {
/* password ok */
printf("type \"?\" or \"help\" for help.\n");
bootmenu(); /* does not return */