diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2003-08-29 00:17:10 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2003-08-29 00:17:10 +0000 |
commit | e6131d82a5bc02d3297ed321728d3adbac6df68e (patch) | |
tree | e40c6d5e692f555599c7203fc2fc8a73cfaa4fe1 /sbin/disklabel | |
parent | 87b65d1467c88eb368000de96150b4e84be1c023 (diff) |
exclude __sparc64__ since it can handle 16k blocks. from jason@
Diffstat (limited to 'sbin/disklabel')
-rw-r--r-- | sbin/disklabel/editor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c index de1b4003c12..9503a821a4c 100644 --- a/sbin/disklabel/editor.c +++ b/sbin/disklabel/editor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: editor.c,v 1.89 2003/08/28 20:19:54 tedu Exp $ */ +/* $OpenBSD: editor.c,v 1.90 2003/08/29 00:17:09 tedu Exp $ */ /* * Copyright (c) 1997-2000 Todd C. Miller <Todd.Miller@courtesan.com> @@ -17,7 +17,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: editor.c,v 1.89 2003/08/28 20:19:54 tedu Exp $"; +static char rcsid[] = "$OpenBSD: editor.c,v 1.90 2003/08/29 00:17:09 tedu Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -514,7 +514,7 @@ editor_add(struct disklabel *lp, char **mp, u_int32_t *freep, char *p) pp->p_size = *freep; pp->p_offset = next_offset(lp, &pp->p_size); pp->p_fstype = partno == 1 ? FS_SWAP : FS_BSDFFS; -#ifdef __sparc__ +#if defined (__sparc__) && !defined(__sparc64__) /* can't boot from > 8k boot blocks */ pp->p_fsize = partno == 0 ? 1024 : 2048; #else |