summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-06-18 08:34:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-06-18 08:34:46 +0000
commit62208bdf630f018d5e4f6844f3a434f2a745b855 (patch)
tree2c37e74169b4c25ed6df9a6dcbe6d8bbf456930f
parenta99ee5132bd7a144a193cc13af6f1709ec276fd5 (diff)
oops, backwards check
-rw-r--r--sys/crypto/criov.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/crypto/criov.c b/sys/crypto/criov.c
index 45197df1bcb..aab7ff5205d 100644
--- a/sys/crypto/criov.c
+++ b/sys/crypto/criov.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: criov.c,v 1.4 2001/06/18 07:57:40 deraadt Exp $ */
+/* $OpenBSD: criov.c,v 1.5 2001/06/18 08:34:45 deraadt Exp $ */
/*
* Copyright (c) 1999 Theo de Raadt
@@ -66,8 +66,8 @@ iov2pages(uio, np, pp, lp, maxp, nicep)
next_page:
- if (pmap_extract(pmap_kernel(), va, &pa) == TRUE)
- panic("iov2pages: unmapped pages 0x%x", va);
+ if (pmap_extract(pmap_kernel(), va, &pa) == FALSE)
+ panic("iov2pages: unmapped pages");
pa += off;