From 8fe309e6b67297e7d59bc001af62e0847cabce78 Mon Sep 17 00:00:00 2001 From: Antoine Verheijen Date: Thu, 6 May 2010 09:09:19 -0600 Subject: [PATCH] OpenBSD: Use FREE instead of KFREE In OpenBSD releases prior to 4.2, use the system (kernel-specific) FREE macro to release space in the kernel module, not KFREE. The latter does not exist and results in unresolved symbols when trying to load the kernel module. (This was undoubtedly a typo.) Change-Id: Id66704ab4d0928e2ce1234de16bb74fe22f4f9c7 Reviewed-on: http://gerrit.openafs.org/1909 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/afs/OBSD/osi_machdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afs/OBSD/osi_machdep.h b/src/afs/OBSD/osi_machdep.h index c7af6bcaff..a96e2486a9 100644 --- a/src/afs/OBSD/osi_machdep.h +++ b/src/afs/OBSD/osi_machdep.h @@ -88,7 +88,7 @@ extern void osi_obsd_Free(void *p, size_t asize); free((p), (mflags)) #else #define BSD_KMALLOC MALLOC -#define BSD_KFREE KFREE +#define BSD_KFREE FREE #endif /* AFS_OBSD42_ENV */ /* proc, cred */