summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-09-19 21:44:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-09-19 21:44:36 +0000
commit14c7f320e400df64eb4add643e82c9d1deb3c5f7 (patch)
tree57311a85788467c4ca25886def2eb7b30c4de2c5 /sys/arch
parent337b3e3825ad1c5732180c9fce20b920200a2a3a (diff)
typo
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/sparc64/autoconf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/sparc64/sparc64/autoconf.c b/sys/arch/sparc64/sparc64/autoconf.c
index b4c5a1d998b..318d944d0ca 100644
--- a/sys/arch/sparc64/sparc64/autoconf.c
+++ b/sys/arch/sparc64/sparc64/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.9 2001/09/19 21:32:20 miod Exp $ */
+/* $OpenBSD: autoconf.c,v 1.10 2001/09/19 21:44:35 deraadt Exp $ */
/* $NetBSD: autoconf.c,v 1.51 2001/07/24 19:32:11 eeh Exp $ */
/*
@@ -789,8 +789,7 @@ findblkmajor(dv)
int i;
for (i = 0; i < sizeof(nam2blk)/sizeof(nam2blk[0]); ++i)
- if (strncmp(name, nam2blk[i].name, strlen(nam2blk[0].name)) == 0
-)
+ if (strncmp(name, nam2blk[i].name, strlen(nam2blk[0].name)) == 0)
return (nam2blk[i].maj);
return (-1);
}