diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-06-08 08:15:52 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-06-08 08:15:52 +0000 |
commit | d2b4e13102bcfab23b69510d177550b11ca6bbf5 (patch) | |
tree | 1847e492215360db9e4f1810873ec918f31524de /sys | |
parent | 95da2243c76760307b218cb7f05645e68a73e8af (diff) |
rename a file for The Anal One
Diffstat (limited to 'sys')
-rw-r--r-- | sys/conf/files | 4 | ||||
-rw-r--r-- | sys/crypto/cryptombuf.c (renamed from sys/crypto/mbuf.c) | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/sys/conf/files b/sys/conf/files index 3c9a7df7035..1e8d13c8fb5 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -1,4 +1,4 @@ -# $OpenBSD: files,v 1.202 2001/06/08 02:53:19 angelos Exp $ +# $OpenBSD: files,v 1.203 2001/06/08 08:15:51 deraadt Exp $ # $NetBSD: files,v 1.87 1996/05/19 17:17:50 jonathan Exp $ # @(#)files.newconf 7.5 (Berkeley) 5/10/93 @@ -621,7 +621,7 @@ file crypto/crypto.c (inet & ipsec) | crypto file crypto/cryptodev.c ((inet & ipsec) | crypto) needs-flag file crypto/criov.c (inet & ipsec) | crypto file crypto/cryptosoft.c (inet & ipsec) | crypto -file crypto/mbuf.c (inet & ipsec) | crypto +file crypto/cryptombuf.c (inet & ipsec) | crypto file crypto/xform.c (inet & ipsec) | crypto file netatalk/aarp.c netatalk file netatalk/at_control.c netatalk diff --git a/sys/crypto/mbuf.c b/sys/crypto/cryptombuf.c index c67e9bd6156..e07934b96f6 100644 --- a/sys/crypto/mbuf.c +++ b/sys/crypto/cryptombuf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mbuf.c,v 1.4 2001/06/08 08:09:35 art Exp $ */ +/* $OpenBSD: cryptombuf.c,v 1.1 2001/06/08 08:15:50 deraadt Exp $ */ /* * Copyright (c) 1999 Theo de Raadt @@ -64,8 +64,9 @@ mbuf2pages(m, np, pp, lp, maxp, nicep) va -= off; next_page: - if (pmap_extract(pmap_kernel(), va, &pa) == FALSE) - panic("mbuf2pages: unmapped page"); + pa = pmap_extract(pmap_kernel(), va); + if (pa == 0) + panic("mbuf2pages: pa == 0"); pa += off; |