From: David Thompson Date: Tue, 9 Aug 2005 19:40:07 +0000 (+0000) Subject: STABLE14-vos-ctime-fix-20050809 X-Git-Tag: openafs-stable-1_4_0-rc1~21 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=48b942d9dbec3453e0a043062c64393110e59cbb;p=packages%2Fo%2Fopenafs.git STABLE14-vos-ctime-fix-20050809 FIXES 20748 fix larger than 4 byte ctime case (cherry picked from commit 42e081360efbfc847488aeaf4c604ea7030edccd) --- diff --git a/src/volser/vos.c b/src/volser/vos.c index abbb27b02..dee375beb 100644 --- a/src/volser/vos.c +++ b/src/volser/vos.c @@ -448,8 +448,8 @@ DumpFunction(struct rx_call *call, char *filename) static char * vos_ctime(afs_int32 *timep) { - time_t *foo = timep; - return ctime(foo); + time_t foo = *timep; + return ctime(&foo); } #else #define vos_ctime ctime