diff options
author | axel <axel@liljencrantz.se> | 2006-01-10 01:17:40 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-01-10 01:17:40 +1000 |
commit | b7c551a34897d7d262cf9fc1c004c87e46d05eb6 (patch) | |
tree | f8065229f41d654ff05bad9d73ec36e3b8242934 /reader.c | |
parent | 810d9104fca780e18bd08d2266efb91142fcb57f (diff) |
Correct incorrect arguments to futimes
darcs-hash:20060109151740-ac50b-db7a3ccbcd4f2cc13855f13285ec2536bebcac95.gz
Diffstat (limited to 'reader.c')
-rw-r--r-- | reader.c | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -911,15 +911,22 @@ static void reader_save_status() futimes is defined, but it should make the status saving stuff failsafe. */ - struct timeval t= + struct timeval t[]= { - time(0)-1, - 0 + { + time(0)-1, + 0 + } + , + { + time(0)-1, + 0 + } } ; - futimes( 1, &t ); - futimes( 2, &t ); + futimes( 1, t ); + futimes( 2, t ); #endif fstat( 1, &prev_buff_1 ); |