Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1396443pxk; Thu, 10 Sep 2020 14:21:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdkuFkWkBxk0GO9Tdj2aSJh+sXZnatxfgK7fnqqdTtrw0On/rjQjRuJDRnK379qFve8aNd X-Received: by 2002:a50:8e17:: with SMTP id 23mr11311076edw.31.1599772914807; Thu, 10 Sep 2020 14:21:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599772914; cv=none; d=google.com; s=arc-20160816; b=CYEH56WTPRDAJaVbPzwts6FxNKHSADwm+XMshDtqGr8F/RPaGez0SBffVpYBtvSLXR cQ1BIdZy2aJgw15i4AeZOIMo4K4Cjl0Pfmpvr6r4IThZlHr9qAhd9sKkT16e++s3UchT qfE+ctHtq5fIpmx0DNFjehw3xTh9gCfwcmQYBvKsTcbSCScs4xULGG1vfCt2KqIvWZcv ezPzGW4QBSU494DtWhtbbxTO0sYiFyH5Om3RGxTGI2o0QfGe/J5j9CGCsno+s+smWVmG i4l42knSXBo/CqPcPq7NwNkJZltCjlxD3VmzLCY2i/oOqYWoSS+B8g0vDrauxTZUuM4n zVqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=eDnzDkzS7un/T3HQQEdcrFP62+pebf6XutqN/w48ZaY=; b=cU0w7BNIAN7XEilWnGfqoS7EYBXgmZoL/x/UY2JQXTLeRUQ4NA2URDh8jZuFOBE0G3 f4OGPFVQPAQW2tqgojDPhJZ88qAcPesVlm+Mvn6CkS8zMfgB5yK6mM+wxTkdyJTaomYM 7YxLDTtUrhjoWUUXX8lQsmMxtjqoQ4D6eiwpi2Sh0RmQ/SQBFDKZZYLtsZUMZlvCERmz tfws8OtdMkByXMW7zJXKYbO3Hw4ZMraM17wpppMzefugQZveC8N54V4xlK85Sptm5ktZ NfrLCfX3GnjrY0js/w2M82GUZzJZHh/UmJalW6DfXjOSgtpOJF/DlVhKMWztOHnjocF0 +mxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=q31h2nnq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l14si4536800eje.378.2020.09.10.14.21.31; Thu, 10 Sep 2020 14:21:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=q31h2nnq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726680AbgIJVTp (ORCPT + 99 others); Thu, 10 Sep 2020 17:19:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727995AbgIJVOP (ORCPT ); Thu, 10 Sep 2020 17:14:15 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2D41C0613ED; Thu, 10 Sep 2020 14:14:14 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id a9so2104642wmm.2; Thu, 10 Sep 2020 14:14:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eDnzDkzS7un/T3HQQEdcrFP62+pebf6XutqN/w48ZaY=; b=q31h2nnqPmjjXuIUt8EkDVn4Nt6SLWQXISTfw21Xrr6xyXDzm73mo2MNAy5hH+CrWL S0ojhRlFr4VYBapqcBT/yTW8V9aAK2SSQpnnJHfB7FvconofM+QETzrl4kDTuCqAJk2x fSu9ru9JI9PSbgdJvoBwpE/YCAft4DI19gehkJf8xQis91hn2+o6WDKhsaYAhA7HkvEq MyuzGy+/gGIb9a8QcxYBPCedWiAK4nJWJ6poyr7CfAjBIhbIybTYwjgE36hsR3sXI/i+ YbwCqferTIGINx2YIH376VBMzKzCkEZGCQrpt0O8/LWI1rfzcoca3+6aZG+vupLjs3RO +RAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eDnzDkzS7un/T3HQQEdcrFP62+pebf6XutqN/w48ZaY=; b=mDPnO+jisVh6yNrO5+5RhQeeMeOmPUnvXy0DXbTRw7HFcKEbW1A0uIcPi1zrRBnZWf AaYsavvYkTtoZsQ62R/CpZ2R0eLROZp9E97/1ev2dfizmYAxjrYDlO/Zs24u5CMtp8fW sZjyXGPkCb64lu/dlHRrdUdq/YfbyVjZgrQXlcy3nyY03M/3V2YktzJg+N9uKxeDoubP eZsdwrH2Go130E1LLUR/YbkjSGk4VkJ948c08DuFx0bjQbNMsaoIAPW0VxZNTwdW+dZW AtDMpVdAU6lEe17JU/ROMp7SKJ6kqMV3yBOP0ta0mvvjUaGkP6odZEDWISp4PEsDhvnY ZaTA== X-Gm-Message-State: AOAM532pBXfuVPN60pzGXl0ED73mL5+xEeWL1y6RyeCpzA+ards+crKU i/xyA9zO2xSCDoj3vTpaRs49ef5vddCT8w== X-Received: by 2002:a1c:2bc7:: with SMTP id r190mr1979391wmr.116.1599772453314; Thu, 10 Sep 2020 14:14:13 -0700 (PDT) Received: from localhost.localdomain ([170.253.60.68]) by smtp.googlemail.com with ESMTPSA id l10sm111502wru.59.2020.09.10.14.14.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 14:14:12 -0700 (PDT) From: Alejandro Colomar To: mtk.manpages@gmail.com Cc: linux-man@vger.kernel.org, linux-kernel@vger.kernel.org, Alejandro Colomar Subject: [PATCH 03/24] timerfd_create.2: Use 'PRIxN' macros when printing C99 fixed-width integer types Date: Thu, 10 Sep 2020 23:13:24 +0200 Message-Id: <20200910211344.3562-4-colomar.6.4.3@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200910211344.3562-1-colomar.6.4.3@gmail.com> References: <20200910211344.3562-1-colomar.6.4.3@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Alejandro Colomar --- man2/timerfd_create.2 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/man2/timerfd_create.2 b/man2/timerfd_create.2 index 67a13dba3..90e35d9b5 100644 --- a/man2/timerfd_create.2 +++ b/man2/timerfd_create.2 @@ -624,6 +624,7 @@ a.out 3 1 100 #include #include #include +#include /* Definition of PRIu64 */ #include #include #include /* Definition of uint64_t */ @@ -706,9 +707,7 @@ main(int argc, char *argv[]) tot_exp += exp; print_elapsed_time(); - printf("read: %llu; total=%llu\en", - (unsigned long long) exp, - (unsigned long long) tot_exp); + printf("read: %"PRIu64"; total=%"PRIu64"\en", exp, tot_exp); } exit(EXIT_SUCCESS); -- 2.28.0