Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/fdisk Make absence of /usr/mdec/mbr only a warning.
details: https://anonhg.NetBSD.org/src/rev/2a93eec4e378
branches: trunk
changeset: 748668:2a93eec4e378
user: dsl <dsl%NetBSD.org@localhost>
date: Sat Oct 31 20:41:00 2009 +0000
description:
Make absence of /usr/mdec/mbr only a warning.
Fixes PR/26510
diffstat:
sbin/fdisk/fdisk.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ffb91d1efdce -r 2a93eec4e378 sbin/fdisk/fdisk.c
--- a/sbin/fdisk/fdisk.c Sat Oct 31 20:11:53 2009 +0000
+++ b/sbin/fdisk/fdisk.c Sat Oct 31 20:41:00 2009 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index