git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Adding osi_procname macro to different platforms
[openafs.git]
/
src
/
afs
/
AIX
/
osi_machdep.h
diff --git
a/src/afs/AIX/osi_machdep.h
b/src/afs/AIX/osi_machdep.h
index
27f1e51
..
878bca6
100644
(file)
--- a/
src/afs/AIX/osi_machdep.h
+++ b/
src/afs/AIX/osi_machdep.h
@@
-80,4
+80,6
@@
extern simple_lock_data afs_global_lock;
mutex_init(&afs_global_lock, "afs_global_lock", MUTEX_DEFAULT, NULL)
#endif
+#define osi_procname(procname, size) strncpy(procname, curproc->pi_comm, size)
+
#endif /* _OSI_MACHDEP_H_ */