From: Andrew Deason Date: Tue, 6 Jul 2010 19:41:13 +0000 (-0500) Subject: HPUX: make osi_procname a stub X-Git-Tag: openafs-devel-1_5_76~177 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=84c52e1db63999988d8405d223cb28f2063004c3;p=packages%2Fo%2Fopenafs.git HPUX: make osi_procname a stub It is not immediately clear how to obtain the current process name on HPUX, and the current osi_procname definition breaks the build, so just make osi_procname a stub for HPUX. Change-Id: I8c825d53d7f25b1500b41629ba73f2fe1f48f00a Reviewed-on: http://gerrit.openafs.org/2341 Tested-by: Andrew Deason Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/afs/HPUX/osi_machdep.h b/src/afs/HPUX/osi_machdep.h index 4b722093d..bae87fe60 100644 --- a/src/afs/HPUX/osi_machdep.h +++ b/src/afs/HPUX/osi_machdep.h @@ -119,6 +119,6 @@ extern caddr_t kmem_alloc(); #include #endif -#define osi_procname(procname, size) strncpy(procname, u.u_comm, size) +#define osi_procname(procname, size) strncpy(procname, "", size) #endif /* _OSI_MACHDEP_H_ */