aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-01-10 01:17:40 +1000
committerGravatar axel <axel@liljencrantz.se>2006-01-10 01:17:40 +1000
commitb7c551a34897d7d262cf9fc1c004c87e46d05eb6 (patch)
treef8065229f41d654ff05bad9d73ec36e3b8242934 /reader.c
parent810d9104fca780e18bd08d2266efb91142fcb57f (diff)
Correct incorrect arguments to futimes
darcs-hash:20060109151740-ac50b-db7a3ccbcd4f2cc13855f13285ec2536bebcac95.gz
Diffstat (limited to 'reader.c')
-rw-r--r--reader.c17
1 files changed, 12 insertions, 5 deletions
diff --git a/reader.c b/reader.c
index be7535fc..3b1ff9d7 100644
--- a/reader.c
+++ b/reader.c
@@ -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 );