r21714: Change the VFS interface to use struct timespec
[gd/samba/.git] / source3 / web / statuspage.c
index 459b679d8172b249f24429388db2447972713e23..a88e5debd0e3a9c636b4d87764d5ba409401dd15 100644 (file)
@@ -101,7 +101,7 @@ static char *mapPid2Machine (struct process_id pid)
 static char *tstring(time_t t)
 {
        static pstring buf;
-       pstrcpy(buf, time_to_asc(&t));
+       pstrcpy(buf, time_to_asc(t));
        all_string_sub(buf," "," ",sizeof(buf));
        return buf;
 }