summaryrefslogtreecommitdiff
path: root/sbin/fdisk
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-11-08 23:57:06 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-11-08 23:57:06 +0000
commiteb9e2288d33e812c9d9d92deb6ec1475ec3124fe (patch)
tree5c268036ed18d0d39b869bc0872d68870c3fbf6d /sbin/fdisk
parentde93b7df1b7c15135da62b069d59429a4dd28cff (diff)
sh machines also have a /usr/mdec/mbr
Diffstat (limited to 'sbin/fdisk')
-rw-r--r--sbin/fdisk/fdisk.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/fdisk/fdisk.c b/sbin/fdisk/fdisk.c
index 460624873dd..9fd538a74d8 100644
--- a/sbin/fdisk/fdisk.c
+++ b/sbin/fdisk/fdisk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fdisk.c,v 1.44 2006/11/08 23:22:26 deraadt Exp $ */
+/* $OpenBSD: fdisk.c,v 1.45 2006/11/08 23:57:05 deraadt Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -71,7 +71,8 @@ main(int argc, char *argv[])
int c_arg = 0, h_arg = 0, s_arg = 0;
disk_t disk;
DISK_metrics *usermetrics;
-#if defined(__amd64__) || defined(__i386__) || defined (__powerpc__)
+#if defined(__amd64__) || defined(__i386__) || defined (__powerpc__) ||
+ defined(__sh__)
char *mbrfile = _PATH_MBR;
#else
char *mbrfile = NULL;