From 78c967c3e1673d205c2d2cb3aa1d2aa63a89c4de Mon Sep 17 00:00:00 2001 From: Andreas Ericsson Date: Tue, 20 Apr 2010 17:39:52 +0200 Subject: [PATCH] import: Only print downtime debug data if dt_start > dt_stop Or if we're debugging, ofcourse. This should prevent cautious customers from worrying about something that's to be considered perfectly normal. Signed-off-by: Andreas Ericsson --- import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/import.c b/import.c index c980c84..8c59a29 100644 --- a/import.c +++ b/import.c @@ -1360,7 +1360,7 @@ int main(int argc, char **argv) if (warnings && debug_level) fprintf(stderr, "Total warnings: %d\n", warnings); - if (debug_level || dt_start != dt_stop) { + if (debug_level || dt_start > dt_stop) { uint count; fprintf(stderr, "Downtime data %s\n started: %d\n stopped: %d\n delta : %d\n skipped: %d\n", dt_depth ? "mismatch!" : "consistent", dt_start, dt_stop, dt_depth, dt_skip); -- 2.11.4.GIT