From: David Thompson Date: Tue, 9 Aug 2005 19:39:26 +0000 (+0000) Subject: vos-ctime-fix-20050809 X-Git-Tag: openafs-devel-1_5_0~392 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=42e081360efbfc847488aeaf4c604ea7030edccd;p=packages%2Fo%2Fopenafs.git vos-ctime-fix-20050809 FIXES 20748 fix larger than 4 byte ctime case --- 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