From patchwork Thu Aug 2 04:35:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 952576 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41gy5g4hpfz9rxx for ; Thu, 2 Aug 2018 14:35:19 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="fBKzZGkX"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 41gy5g2bZCzF1Rs for ; Thu, 2 Aug 2018 14:35:19 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="fBKzZGkX"; dkim-atps=neutral X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41gy5W0nPWzF1Qn for ; Thu, 2 Aug 2018 14:35:11 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="fBKzZGkX"; dkim-atps=neutral Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 41gy5V54pHz9s2g; Thu, 2 Aug 2018 14:35:10 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1533184510; bh=GRY9t3JXQYlUgtvEGX7g+FCzsaIzG+NqtVHJPeKmXDE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fBKzZGkXAXsedoKjA0AYzHYP8J2okRO5yFlfp88NVTgjx8vAD3kUREMWSUzTGvqVa yrMlCzphE9Im88OihJ8WWi0QtAveoDzkk2284gjBJhWkQuQMuqRAym/5fUO8kZJPPL nTZi02FAglIrlo3qyAcIMliu+/V9ZBNYM2hw2tV6IduZhhblAN1+aZXEiBViP5y+g3 o4nY5Nu7SEJEfkA0YJNk/bn+no0j/54VEWuibhCanTrWFHhL62xCB6J26Zu9Y4kghi ly82XQbxY0YDk7qOX16c8HkOuwzfUawUcf2QCyrawMgy0qxeFksduNN1vkReFxF1tE tMPdM7TLqeCyA== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Thu, 2 Aug 2018 14:35:04 +1000 Message-Id: <20180802043507.28734-2-amitay@ozlabs.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180802043507.28734-1-amitay@ozlabs.org> References: <20180802043507.28734-1-amitay@ozlabs.org> Subject: [Pdbg] [PATCH 1/4] progress: End function on a new line X-BeenThere: pdbg@lists.ozlabs.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "mailing list for https://github.com/open-power/pdbg development" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Amitay Isaacs MIME-Version: 1.0 Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" Signed-off-by: Amitay Isaacs --- src/progress.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/progress.c b/src/progress.c index fe443b9..9772374 100644 --- a/src/progress.c +++ b/src/progress.c @@ -42,7 +42,8 @@ void progress_init(void) fprintf(stderr, " "); fprintf(stderr, "] 0%%"); fflush(stderr); - clock_gettime(CLOCK_MONOTONIC, &progress_start);} + clock_gettime(CLOCK_MONOTONIC, &progress_start); +} void progress_tick(uint64_t cur, uint64_t end) {