mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
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 <shadow@dementia.org> Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
8e27248698
commit
8fe309e6b6
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user