]> andersk Git - openssh.git/blobdiff - openbsd-compat/bsd-misc.c
[scp.c] make compilers without long long happy.
[openssh.git] / openbsd-compat / bsd-misc.c
index c0a338db2e976c6c5f067f0fef00ff63e822ad24..f27788729bf2a6364aacee37db5dfb441acc674c 100644 (file)
@@ -93,8 +93,8 @@ int utimes(char *filename, struct timeval *tvp)
 {
        struct utimbuf ub;
 
-       ub.actime = tvp[0]->tv_sec;
-       ub.modtime = tvp[1]->tv_usec;
+       ub.actime = tvp[0].tv_sec;
+       ub.modtime = tvp[1].tv_sec;
        
        return(utime(filename, &ub));
 }
This page took 0.373965 seconds and 4 git commands to generate.