From 62ba14fe517bab8a14a05ff1be14fc148947fc10 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 8 Oct 2013 17:36:55 -0400 Subject: update for Duration type change --- Command/Fsck.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Command/Fsck.hs') diff --git a/Command/Fsck.hs b/Command/Fsck.hs index 980a1e3cf..3b89c550c 100644 --- a/Command/Fsck.hs +++ b/Command/Fsck.hs @@ -104,7 +104,7 @@ withIncremental = withValue $ do Nothing -> noop Just started -> do now <- liftIO getPOSIXTime - when (now - realToFrac started >= delta) + when (now - realToFrac started >= durationToPOSIXTime delta) resetStartTime return True -- cgit v1.2.3