summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/stand/netboot/devopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/alpha/stand/netboot/devopen.c')
-rw-r--r--sys/arch/alpha/stand/netboot/devopen.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/alpha/stand/netboot/devopen.c b/sys/arch/alpha/stand/netboot/devopen.c
index d8434cf8d1a..10252db0fe6 100644
--- a/sys/arch/alpha/stand/netboot/devopen.c
+++ b/sys/arch/alpha/stand/netboot/devopen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: devopen.c,v 1.4 2003/06/02 23:27:44 millert Exp $ */
+/* $OpenBSD: devopen.c,v 1.5 2011/06/05 21:49:36 miod Exp $ */
/* $NetBSD: devopen.c,v 1.3 1997/04/06 08:41:25 cgd Exp $ */
/*-
@@ -41,6 +41,7 @@
* Decode the string 'fname', open the device and return the remaining
* file name if any.
*/
+int
devopen(f, fname, file)
struct open_file *f;
const char *fname;
@@ -49,7 +50,9 @@ devopen(f, fname, file)
register char *cp;
register char *ncp;
register struct devsw *dp;
+#if 0
register int c, i;
+#endif
int ctlr = 0, unit = 0, part = 0;
char namebuf[20];
int rc;