From nobody Tue May 30 10:27:55 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QVpWH6SJZz4XGBj; Tue, 30 May 2023 10:27:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QVpWH5yHKz40cW; Tue, 30 May 2023 10:27:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685442475; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2dxkjQv/nFcmMYFopjgIKJ9o2c+XnU6KSHyOyKf+ScI=; b=np6XiUmYXbVMFgaOS6Oz+eJ7FN39nMFUQt6+3YZK0sTMLgB8viStgFDB6oL1/QJArlX4ck 8C3XIDq2/1uwT1PMzuhNK9JYfFALAn486E2TMMAh+fJ1j8A3F2GcAp78ffZkxxBEyvuWgG vLMYOe5JQUjxRhHS5fIr7zw+FP0ZqcIeL2BQnjeN6d3yMH4d7E850DsbfcZcfZGkkrdvRZ 6eXs9O9pWScqo8C5koJwzagn9jytzfNh4M6iKdlu3hU1G0q1uP+rWPiCqAepHzjd8fEe/q 5sJkuKeYkzZrnQagl99vf/4rmFgUwvDFYiCXAIoT7InZsSu6PYcjTmXYBLjd/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685442475; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2dxkjQv/nFcmMYFopjgIKJ9o2c+XnU6KSHyOyKf+ScI=; b=wJRppIc1Uzf7mYqprME501uBgvJJApzv3DwSBrL+d4I4ADh9pXORobWFu5YTlZMTQOcpmw FYQyE2R4TI9QjAG3AL1b547VXSdY7u8A5+CGD+5og1G/SF1jMD7AN0LHxOY40T9rDlNkDm GKzB61sWjcYOz1DWjGrQ+lmetpxys4jVlOudaO8wnyCEkst2tvpJTDaaECQGSHypWWvzPt nBgcEs2O58y1v8vPXNQyq+Vbf2GJvatYlITE0FKpJVz3Zf4GrbT3GwtCS01WlP+7ebbXYu +VBQ6iC/MYq+NUwjJ98oDTI1/MKRkeN2chkwWmN1bEEhuUevon4Tqq/cVz7F3g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685442475; a=rsa-sha256; cv=none; b=UZzIkTYk3ugjR9//KBcLVBycS3Vc8rULC03+37g/Oo2W8J8ttWSUAzlAoE4Qe03CeZqqET WNd1n1mIX3yrK6W9Oeu0Wx0fd4/7vhrAo3Ym0R8KXSWDxUb3zdcla69tMfgwUCAzG88tZg 45KUjDiO6WHd0Glof1rXYnBHIlyT5JFWtKP9E4YugaSGnBl9//Q5kf4sX5QdoEtkctdBGV yx2/8TaKWnxifG5z6MUXAc+BegTEYx4/MPmMcPQqsvmRbTs3zrsg1xaUQe/v8IwDsMa5Ww /6YQKt2Lw/v7jAhfzqmL83VvOBM4ZAM0w2HAJeutSucCvkjsqLmSeCuR0dxyZA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QVpWH51B4zqRN; Tue, 30 May 2023 10:27:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34UARtf8054078; Tue, 30 May 2023 10:27:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34UARtiE054077; Tue, 30 May 2023 10:27:55 GMT (envelope-from git) Date: Tue, 30 May 2023 10:27:55 GMT Message-Id: <202305301027.34UARtiE054077@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Cheng Cui Subject: git: b71f278465ed - main - siftr: convert this tval.tv_sec to type intmax_t to print across platforms List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cc X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b71f278465ed680019532b8388a163f1d428cc00 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cc: URL: https://cgit.FreeBSD.org/src/commit/?id=b71f278465ed680019532b8388a163f1d428cc00 commit b71f278465ed680019532b8388a163f1d428cc00 Author: Cheng Cui AuthorDate: 2023-05-29 20:17:29 +0000 Commit: Cheng Cui CommitDate: 2023-05-30 06:27:33 +0000 siftr: convert this tval.tv_sec to type intmax_t to print across platforms Reviewers: rscheff, tuexen Approved by: tuexen (mentor) Subscribers: imp, melifaro, glebius Differential Revision: https://reviews.freebsd.org/D40323 --- sys/netinet/siftr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/siftr.c b/sys/netinet/siftr.c index 2741553ed757..2c02130bbcca 100644 --- a/sys/netinet/siftr.c +++ b/sys/netinet/siftr.c @@ -391,7 +391,7 @@ siftr_process_pkt(struct pkt_node * pkt_node) "%c,%jd.%06ld,%s,%hu,%s,%hu,%u,%u,%u,%u,%u,%u,%u,%u,%u,%u,%u,%u,%u," "%u,%u,%u,%u,%u,%u,%u,%u\n", direction[pkt_node->direction], - pkt_node->tval.tv_sec, + (intmax_t)pkt_node->tval.tv_sec, pkt_node->tval.tv_usec, hash_node->const_info.laddr, hash_node->const_info.lport,