From b7c551a34897d7d262cf9fc1c004c87e46d05eb6 Mon Sep 17 00:00:00 2001 From: axel Date: Tue, 10 Jan 2006 01:17:40 +1000 Subject: [PATCH] Correct incorrect arguments to futimes darcs-hash:20060109151740-ac50b-db7a3ccbcd4f2cc13855f13285ec2536bebcac95.gz --- reader.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/reader.c b/reader.c index be7535fca..3b1ff9d74 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 );