From 48b942d9dbec3453e0a043062c64393110e59cbb Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 9 Aug 2005 19:40:07 +0000 Subject: [PATCH] STABLE14-vos-ctime-fix-20050809 FIXES 20748 fix larger than 4 byte ctime case (cherry picked from commit 42e081360efbfc847488aeaf4c604ea7030edccd) --- src/volser/vos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5