diff options
author | Steve Murphree <smurph@cvs.openbsd.org> | 2001-12-22 18:45:36 +0000 |
---|---|---|
committer | Steve Murphree <smurph@cvs.openbsd.org> | 2001-12-22 18:45:36 +0000 |
commit | 237902f111601f9346828cb265c832bcee546a16 (patch) | |
tree | fffa3d075dadcd013078a3d0d9af7d601f7556ec /sys/arch/mvme88k/dev/if_ve.c | |
parent | 96f7d97c76ba2b501d194732590931c651f0f592 (diff) |
Correct badvaddr() usage.
Diffstat (limited to 'sys/arch/mvme88k/dev/if_ve.c')
-rw-r--r-- | sys/arch/mvme88k/dev/if_ve.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/arch/mvme88k/dev/if_ve.c b/sys/arch/mvme88k/dev/if_ve.c index 66cf6fc8c43..ae165edc1c7 100644 --- a/sys/arch/mvme88k/dev/if_ve.c +++ b/sys/arch/mvme88k/dev/if_ve.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ve.c,v 1.14 2001/12/22 09:49:39 smurph Exp $ */ +/* $OpenBSD: if_ve.c,v 1.15 2001/12/22 18:45:35 smurph Exp $ */ /*- * Copyright (c) 1999 Steve Murphree, Jr. * Copyright (c) 1982, 1992, 1993 @@ -247,11 +247,9 @@ vematch(parent, vcf, args) { struct confargs *ca = args; - if (!badvaddr((unsigned)ca->ca_vaddr, 1)) { - return (1); - } else { + if (badvaddr((unsigned)ca->ca_vaddr, 1)) return (0); - } + return (1); } /* |