From 84c52e1db63999988d8405d223cb28f2063004c3 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Tue, 6 Jul 2010 14:41:13 -0500 Subject: [PATCH] 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 --- src/afs/HPUX/osi_machdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_ */ -- 2.39.5