summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/stand/boot/diskio.c
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>2004-09-16 18:54:50 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>2004-09-16 18:54:50 +0000
commitdf74672cd4941ea15b4e7cad19ee94e625847fae (patch)
tree558fced77588d5f5a0456c46bc6472a4911519d8 /sys/arch/sgi/stand/boot/diskio.c
parent03a86a3d200e0b8b514072567f074da89cc3f5cc (diff)
Update boot with miods ELF64 symtab fixes and my 32 bit compiles
Diffstat (limited to 'sys/arch/sgi/stand/boot/diskio.c')
-rw-r--r--sys/arch/sgi/stand/boot/diskio.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/arch/sgi/stand/boot/diskio.c b/sys/arch/sgi/stand/boot/diskio.c
index b5b843710bc..ddf49211bdd 100644
--- a/sys/arch/sgi/stand/boot/diskio.c
+++ b/sys/arch/sgi/stand/boot/diskio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diskio.c,v 1.1 2004/08/23 14:22:40 pefo Exp $ */
+/* $OpenBSD: diskio.c,v 1.2 2004/09/16 18:54:48 pefo Exp $ */
/*
* Copyright (c) 2000 Opsycon AB (www.opsycon.se)
@@ -72,10 +72,7 @@ dioopen(struct open_file *f, ...)
struct dio_softc *sc;
struct disklabel *lp;
- int i, fd;
- char *msg = NULL;
- char buf[DEV_BSIZE];
- int cnt;
+ int fd;
daddr_t labelsector;
va_list ap;