Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/usermode/include If the host doesn't define LABELUS...



details:   https://anonhg.NetBSD.org/src/rev/5daae9036ae9
branches:  trunk
changeset: 769093:5daae9036ae9
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Wed Aug 31 12:56:13 2011 +0000

description:
If the host doesn't define LABELUSESMBR, set it to 1

diffstat:

 sys/arch/usermode/include/disklabel.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 8f75fd9de093 -r 5daae9036ae9 sys/arch/usermode/include/disklabel.h
--- a/sys/arch/usermode/include/disklabel.h     Wed Aug 31 12:46:36 2011 +0000
+++ b/sys/arch/usermode/include/disklabel.h     Wed Aug 31 12:56:13 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: disklabel.h,v 1.3 2009/10/21 16:06:59 snj Exp $ */
+/* $NetBSD: disklabel.h,v 1.4 2011/08/31 12:56:13 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -34,4 +34,8 @@
 #undef DISKPART
 #undef DISKMINOR
 
+#ifndef LABELUSESMBR
+#define LABELUSESMBR 1
+#endif
+
 #endif /* !_ARCH_USERMODE_INCLUDE_DISKLABEL_H */



Home | Main Index | Thread Index | Old Index