diff options
author | peter <peter@FreeBSD.org> | 2003-06-07 07:07:04 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-06-07 07:07:04 +0000 |
commit | c1ee2827e9a9e5003470468be2dc8d425e929b9f (patch) | |
tree | 62c1510cc33eb8f111b858071f37fb996f7daf1f /sys | |
parent | db49af512632300c02f4ce0a55ae716155eceb78 (diff) | |
download | FreeBSD-src-c1ee2827e9a9e5003470468be2dc8d425e929b9f.zip FreeBSD-src-c1ee2827e9a9e5003470468be2dc8d425e929b9f.tar.gz |
Gah! Set LABELSECTOR and LABELOFFSET correctly for amd64. This might
explain why I've been having trouble with libdisk and sysinstall...
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/disklabel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h index ddcf21a..9653388 100644 --- a/sys/sys/disklabel.h +++ b/sys/sys/disklabel.h @@ -55,7 +55,7 @@ */ /* XXX these should be defined per controller (or drive) elsewhere, not here! */ -#ifdef __i386__ +#if defined(__i386__) || defined(__amd64__) #define LABELSECTOR 1 /* sector containing label */ #define LABELOFFSET 0 /* offset of label in sector */ #endif |