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:
Ben Kaduk 2010-05-07 00:47:53 -04:00 committed by Derrick Brashear
parent 7ba5c7263d
commit b811e4f91e

View File

@ -150,4 +150,6 @@ extern struct thread *afs_global_owner;
#undef USERPRI
#define USERPRI splx(splvar)
#define osi_procname(procname, size) strncpy(procname, curproc->p_comm, size)
#endif /* _OSI_MACHDEP_H_ */