mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
Define osi_procname for FBSD
The kernel linker doesn't like to load modules with unresolved (implicitly-defined) symbols (understandably). Make it happy. Change-Id: I23fdbb9c9e07a0c583580f5c5eee577a04fae278 Reviewed-on: http://gerrit.openafs.org/1925 Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk> Reviewed-by: sanket <sanket@sanketagarwal.com> Reviewed-by: Derrick Brashear <shadow@dementia.org> Tested-by: Benjamin Kaduk <kaduk@mit.edu>
This commit is contained in:
parent
7ba5c7263d
commit
b811e4f91e
@ -150,4 +150,6 @@ extern struct thread *afs_global_owner;
|
|||||||
#undef USERPRI
|
#undef USERPRI
|
||||||
#define USERPRI splx(splvar)
|
#define USERPRI splx(splvar)
|
||||||
|
|
||||||
|
#define osi_procname(procname, size) strncpy(procname, curproc->p_comm, size)
|
||||||
|
|
||||||
#endif /* _OSI_MACHDEP_H_ */
|
#endif /* _OSI_MACHDEP_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user