[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] libs/light: fix tv_sec printf format


  • To: Manuel Bouyer <bouyer@xxxxxxxxxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Mon, 18 Jan 2021 19:19:41 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1nHf8gtYEuNY4iZyaDAU8XuJuqChXz9UixpC3/796S0=; b=MmsRg3d0TWCb9vHL6xg7mK2gKSnKjN0gYwdLBEzE4T+tlOG+ClQyLKT1xlqJX7s5CMUa2RzjQ4FcS80bgRkubjR+Obrf1dA/TxI0PbkAmAXowbXyth/cFDVZDYpDvIb2vlfK9ng0LYM3jg/eQVcJJeZkqMfc79GzGBe1Xt7wew3azcMsywLGVMmXz7xb3ZZkcJcHmPEaGnq7tORmpIYNx8XBxhJa4tBDnAHTOq1/D+kvQmxTIcOHX9X9DQtPChNJ5bhMsHgiBu/rkiCoo3xdNi7D++aZbbRlepsT0dTyyxt2G9gNuthQEHNzgfphzcN0wuDq+pU7MFs8YiE5wQZplw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jkrnx/LSjcRRm0h93z5LfGnTiHgBkMSIjV4Qnx71DYgViSNYwXXXuTC8zqL4yQTQFdkUJ1W7XHO+KBkkzhv7aYInWjSyez4NUSZJ7VgaFi36N4DR5LZh3cKplZRgaiItbP6ia2dfQAhjkiZ0h2Fn4kHTq/I17Qzc5V00B4l2yrVIjuubAg0j0/25GHB9iEcCd7hACpJ34eNjyDkJRezeUKMGiTv0CZhd1RBNv3BDhKNO0u3q29yyfEZj05mCSMCPejbe4SohbPxZHYyHXYen2IcgRBLM1NmzWotb8ZFJ3g1BdI8JTltnyihP+tjikxrAZXi9sEMijpeIZvpJE/Z/Gg==
  • Authentication-results: esa3.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Manuel Bouyer <bouyer@xxxxxxxxxx>, "Ian Jackson" <iwj@xxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Delivery-date: Mon, 18 Jan 2021 18:19:52 +0000
  • Ironport-sdr: giPp+q+rRMQy+jpZI/fg953lNt+hKfZXhr5xPgdlQPWj/rpOpEVZlqW9909d9dgocO3B/cAn9j BATzA3/JGqah1aDHHStO0D4BBNqHWbcRAmikIYp5zqady1Ek0iskds+rirpdwVGd2EdTltdnsZ ntEInz9Sz/3fT0Me8Y3FM3r8wQ59T4sBvQlbPqsVTkiuQXnnVVimrfn98D90yjoRiW0bAcICca qvMXnY2bBmHr0Rnd31pYUUu7M4RYngv6VHLzpYanPV/51dE71qEc0RbpkONGdgc6QmSHas6WiA qnw=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Tue, Jan 12, 2021 at 07:12:34PM +0100, Manuel Bouyer wrote:
> From: Manuel Bouyer <bouyer@xxxxxxxxxx>
> 
> Don't assume tv_sec is a unsigned long, it is 64 bits on NetBSD 32 bits.
> Use %jd and cast to (intmax_t) instead
> 
> Signed-off-by: Manuel Bouyer <bouyer@xxxxxxxxxx>

Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

Thanks, Roger.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.