OpenBSD: Use osi_obsd_Free() for all releases of OBSD

Use osi_obsd_Free() in afs_osi_Free() for all releases of OpenBSD,
not just releases from 4.4 onward. Otherwise, afs_osi_Free() will
use AFS_KFREE, which does not exist, since OBSD/osi_machdep.h is
not included, resulting in unresolved symbols when trying to load
the kernel module.

Change-Id: Ic9632c9df347cc17e122b6302ef14e63fa5b68b4
Reviewed-on: http://gerrit.openafs.org/1910
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Antoine Verheijen 2010-05-06 09:10:38 -06:00 committed by Derrick Brashear
parent 8fe309e6b6
commit dc9bef83b0

View File

@ -109,7 +109,7 @@ afs_osi_Free(void *x, size_t asize)
osi_linux_free(x);
#elif defined(AFS_FBSD_ENV)
osi_fbsd_free(x);
#elif defined(AFS_OBSD44_ENV)
#elif defined(AFS_OBSD_ENV)
osi_obsd_Free(x, asize);
#else
AFS_KFREE((struct osimem *)x, asize);