Message ID | 20200722000429.119936-1-rosenp@gmail.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=gOj8P+1z; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Lt0ss/8D; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BBG3B37vmz9sQt for <incoming@patchwork.ozlabs.org>; Wed, 22 Jul 2020 10:06:30 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe :List-Id:MIME-Version:Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=ZKaGijawXPA4VNOZS18BdfGhGqaAe1+uMUQch2axQNI=; b=gOj8P+1zTBf4ntw6/3X9qLltd6 ClAMfXsUrp1hGXa/jYgB1IQR2X89wRSrLroaMspLU1rH+irsaFkBZpe5FeTq3ueMD5YS/JzlwYv+R r8/wg44XKwu5o4QeBQ0VA0rrrsiInooukSFUn7QyDNbBP7QSODJZF31Q1TjZdDIUQW8yjW5kdHU0i SsOhq8VHMW7eaECkP9Sca0MAD6HwSbIKL+w7v1UOrXBCyJZiyTWm8twVWZgcX6FcaFY8ezOaiJEg7 nieWV8lVhqm0DPavnYGEqUhNar9shtBnm6sqLXjAIl7S1CoTOX0kbSVXxViOhO7ZZ9l9GG240Q1Dn RQYTFGZQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jy2FQ-0002BQ-JS; Wed, 22 Jul 2020 00:04:36 +0000 Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jy2FO-0002B5-2v for openwrt-devel@lists.openwrt.org; Wed, 22 Jul 2020 00:04:35 +0000 Received: by mail-pj1-x1042.google.com with SMTP id k1so213818pjt.5 for <openwrt-devel@lists.openwrt.org>; Tue, 21 Jul 2020 17:04:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=4KuieaBOs4MeolBdkpcyJBuAbM8rwWdUmhMhUHOYYHs=; b=Lt0ss/8Dz/o16aPd3Q1Cwc60PiL1BMnaS7P3O13IJWfNtMZAvEOSFE4q8HxUON7uYn QDTACRzdBbyrrTjFNDKF7JvK56qBkgUZssQvlNOa/uoyaaKxpPrL4qsujQu6XMvL8ifX U4WHYZsY+dEzrr707PwtKy1Zw+EqeYc84SgV5Y1TjPqqAdPX6WP3RVklUN7+CyaDdokB 9dX/1yFgh4BAMwLcC7kqtm4AbBnLTJu4QiA1wJ0UWu8TOj4ewL+w3TmynBkGQpU/C42g AI29i7vwPhYsvahoOHGCdqSv0J9qQtMIXyrJ8PKJhWOj9fKmstbGNk/7/5suyA+PYXZD Ezqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=4KuieaBOs4MeolBdkpcyJBuAbM8rwWdUmhMhUHOYYHs=; b=FmBTIPc8vL/TPVuLbhTA4zPbZJGVVgu4fJpAItZYtvRmRrlbtidCf0WGlGpVEoXLHm lycmf50pJgIWhjK1VoYcDuh+F4b9ZJVXcEE/ZanVegM39SaNAfFiQHEFVLO0Dx095Zxe SnZlbdFgx0gA/PPfw1v4CyoO96cLvJ/FefhqcJfJ5rOEym3pAjrdYDBobj6DLR7DdS/w KFKqZTckzebeiGeOZcmexztTFvyEIhGiD4Aud3i3YepPHNnTbq/C4KkSemnU3CynelBU UFcOwJ3uo69AUvklh8zHFe07KNIl6VtOhgjIrgnp/Ojepvuz8e2Oe4KqNvfi0HUmn7R2 GRJw== X-Gm-Message-State: AOAM533s3x0GWww1HNha5u7IHtuRgLct6Rdq3e46JF8tABXVp2Z7kChN fov0wJeOT1xYfCoQ9Sk0GCv2kz4O X-Google-Smtp-Source: ABdhPJzI634O/xRVdtdWsdKHTW1C0RG8XoxLL2H5Pfs068HZenMcEeITWgezP1r2FJBTxiTKI+dwhQ== X-Received: by 2002:a17:90b:124c:: with SMTP id gx12mr7675024pjb.191.1595376270813; Tue, 21 Jul 2020 17:04:30 -0700 (PDT) Received: from mangix-trapnet.lan ([2001:470:1f05:79e:64f4:ec15:778c:e670]) by smtp.gmail.com with ESMTPSA id 17sm4392038pjl.30.2020.07.21.17.04.29 for <openwrt-devel@lists.openwrt.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 17:04:30 -0700 (PDT) From: Rosen Penev <rosenp@gmail.com> To: openwrt-devel@lists.openwrt.org Subject: [PATCH] umdns: fix 64-bit time format string Date: Tue, 21 Jul 2020 17:04:29 -0700 Message-Id: <20200722000429.119936-1-rosenp@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200721_200434_246528_BC6413C2 X-CRM114-Status: UNSURE ( 8.40 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:1042 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [rosenp[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
umdns: fix 64-bit time format string
|
expand
|
diff --git a/service.c b/service.c index af3083e..39e759a 100644 --- a/service.c +++ b/service.c @@ -122,7 +122,7 @@ service_timeout(struct service *s) time_t t = monotonic_time(); if (t - s->t <= TOUT_LOOKUP) { - DBG(2, "t=%lu, s->t=%lu, t - s->t = %lu\n", t, s->t, t - s->t); + DBG(2, "t=%" PRId64 ", s->t=%" PRId64 ", t - s->t = %" PRId64 "\n", (int64_t)t, (int64_t)s->t, (int64_t)(t - s->t)); return 0; }
Fixes compilation under musl 1.2.0 Signed-off-by: Rosen Penev <rosenp@gmail.com> --- service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)