Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/fdisk unconditionally #define DEFAULT_BOOTDIR. should ...
details: https://anonhg.NetBSD.org/src/rev/6d98c139a715
branches: trunk
changeset: 553168:6d98c139a715
user: lukem <lukem%NetBSD.org@localhost>
date: Sat Oct 11 04:50:49 2003 +0000
description:
unconditionally #define DEFAULT_BOOTDIR. should fix non-x86 builds
diffstat:
sbin/fdisk/fdisk.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r b4ceb33a746e -r 6d98c139a715 sbin/fdisk/fdisk.c
--- a/sbin/fdisk/fdisk.c Sat Oct 11 03:57:31 2003 +0000
+++ b/sbin/fdisk/fdisk.c Sat Oct 11 04:50:49 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdisk.c,v 1.71 2003/10/08 04:25:44 lukem Exp $ */
+/* $NetBSD: fdisk.c,v 1.72 2003/10/11 04:50:49 lukem Exp $ */
/*
* Mach Operating System
@@ -35,7 +35,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: fdisk.c,v 1.71 2003/10/08 04:25:44 lukem Exp $");
+__RCSID("$NetBSD: fdisk.c,v 1.72 2003/10/11 04:50:49 lukem Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -59,11 +59,12 @@
#include <unistd.h>
#include <util.h>
+#define DEFAULT_BOOTDIR "/usr/mdec"
+
#if defined(__i386__) || defined(__x86_64__)
#include <machine/cpu.h>
#define BOOTSEL
-#define DEFAULT_BOOTDIR "/usr/mdec"
#define DEFAULT_BOOTCODE "mbr"
#define DEFAULT_BOOTSELCODE "mbr_bootsel"
#define DEFAULT_BOOTEXTCODE "mbr_ext"
Home |
Main Index |
Thread Index |
Old Index