Module Name: src
Committed By: dsl
Date: Sat Oct 31 20:41:00 UTC 2009
Modified Files:
src/sbin/fdisk: fdisk.c
Log Message:
Make absence of /usr/mdec/mbr only a warning.
Fixes PR/26510
To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 src/sbin/fdisk/fdisk.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/fdisk/fdisk.c
diff -u src/sbin/fdisk/fdisk.c:1.123 src/sbin/fdisk/fdisk.c:1.124
--- src/sbin/fdisk/fdisk.c:1.123 Wed Aug 5 21:31:50 2009
+++ src/sbin/fdisk/fdisk.c Sat Oct 31 20:41:00 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: fdisk.c,v 1.123 2009/08/05 21:31:50 dsl Exp $ */
+/* $NetBSD: fdisk.c,v 1.124 2009/10/31 20:41:00 dsl Exp $ */
/*
* Mach Operating System
@@ -39,7 +39,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: fdisk.c,v 1.123 2009/08/05 21:31:50 dsl Exp $");
+__RCSID("$NetBSD: fdisk.c,v 1.124 2009/10/31 20:41:00 dsl Exp $");
#endif /* not lint */
#define MBRPTYPENAMES
@@ -993,7 +993,7 @@
#ifdef DEFAULT_BOOTCODE
if (bootsize == 0)
bootsize = read_boot(DEFAULT_BOOTCODE, bootcode,
- sizeof bootcode, 1);
+ sizeof bootcode, 0);
#endif
#ifdef BOOTSEL
if (mboot.mbr_bootsel_magic == LE_MBR_BS_MAGIC