From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 716155A0272 for ; Fri, 13 Oct 2023 06:50:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=201602; t=1697172633; bh=gSLV8pBizdX9df0wL39UyvGDmGzXz6q4IuCJ3pAK7/8=; h=From:To:Cc:Subject:Date:From; b=T6P4DltNlnus0t9x83ZT8YfSsMJvLfZqRD22QKe6hSIR0I/FOvz0FLUE28MrRSZ1l ZqZCldPfTNMuKXikpnCWijIYhQ//OuSA7DpustJ2L2zyLBfH1M2qHqztINVWYHPxiP rVxQ5fR4hxf/bXdTfotI/nzr8HMFlebB0ZXr1Xjk= Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4S6DbF0bZ2z4xWY; Fri, 13 Oct 2023 15:50:33 +1100 (AEDT) From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: [PATCH v2 0/3] Some improvements to log functions Date: Fri, 13 Oct 2023 15:50:27 +1100 Message-ID: <20231013045030.85235-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.41.0 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 2KA62YAUNSGOEFMG5I5WUZMMTBTBE5YB X-Message-ID-Hash: 2KA62YAUNSGOEFMG5I5WUZMMTBTBE5YB X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Several small improvements to the logging functions. Changes since v1: * Added printf warning attributes * Added vlogmsg() David Gibson (3): log: Don't define logging function 4 times log: Enable format warnings log: Add vlogmsg() Makefile | 3 ++- conf.c | 2 +- log.c | 72 +++++++++++++++++++++++++++++--------------------------- log.h | 14 +++++++---- packet.c | 7 +++--- pasta.c | 2 +- tcp.c | 13 ++++++---- 7 files changed, 63 insertions(+), 50 deletions(-) -- 2.41.0