Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1212565ybe; Wed, 11 Sep 2019 11:07:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqynnjSf0Ar3CzVHeK3JoaRyECk/cS1z6lCGPmWQsci62qz4b6T5Ib7b5O4LGTrpK/eK3G+2 X-Received: by 2002:a50:fb0c:: with SMTP id d12mr37048703edq.275.1568225273566; Wed, 11 Sep 2019 11:07:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568225273; cv=none; d=google.com; s=arc-20160816; b=bEhF5Y/00irEISuPrOu9f1lNItvWM0ZCRs6WtZgrRfr558JrV4IrXJQHEcyqTKih7/ qNfZEOP0CXSjrRnjiN6HUUs/lnvOTwmsfMYdbiJJqvgU5MgpCrsHneSWAPjKe8HFvh2E Z+7vGm0bnrnClYoB6YaAEaGeHV2sq0YipYQrO4lHfjrvzzwuoGxXZ/EeKYHT6kA6gOPC LtETeWnxDhjvYpUSp9kh9gqQ7emm9DZQU+7WXYNWGYpyfGzqrK6tWjmj/D3ekEQrcfPb j4y7TQ2K75HLbLX72T4OeRgNLvZTxyrtuupXFy27l43+J82rNfXMGUwAYM6OGx4c2wmR ihwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=eulzZg1lUvI7dPQgwpNcdb142arptw6ill3Lt5nAS58=; b=CQZOYnt9g+R13TcAA+kwD870BUWIrx3f6A0EguOufYTttNOy3VR7srhh3+1qy31W/f Hqcyma9xk10gwst2fKEEyXpUKDk/7rk+L7asRvjZC9nFgkTfEqCbWL4TqGALCPFb+LdU ydJHHwaKJ/yBzYDo3I8RwAZpNTClHtvffGDH5hIisJi/FE9rBa+uVODLKcV+cLfFs4Ds cI4FKfluPIC+ocgyTF7HitnycSn6x+iwwZzR0r8B2QK3L0e7rWJnKWbYUdVgsGEUdOlY 7lGNTGgkn5NJWZoLPZglrhH3CuaCiJnUrNJqDLZqAaDYgr5giTNTQ8vVCbWRvDh/O+DR h7Iw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y17si7552049edt.101.2019.09.11.11.07.30; Wed, 11 Sep 2019 11:07:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730050AbfIKSC6 (ORCPT + 99 others); Wed, 11 Sep 2019 14:02:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41168 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729727AbfIKSC5 (ORCPT ); Wed, 11 Sep 2019 14:02:57 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A2F1485539; Wed, 11 Sep 2019 18:02:57 +0000 (UTC) Received: from asgard.redhat.com (ovpn-112-27.ams2.redhat.com [10.36.112.27]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 26A6160BEC; Wed, 11 Sep 2019 18:02:53 +0000 (UTC) Date: Wed, 11 Sep 2019 19:02:27 +0100 From: Eugene Syromiatnikov To: linux-kernel@vger.kernel.org, Christian Brauner , Shuah Khan , linux-kselftest@vger.kernel.org Cc: Adrian Reber Subject: [PATCH v3 4/6] selftests/clone3: fix up format strings Message-ID: <9c76596961b2638cd752ebd65830be9279b5fb9b.1568224280.git.esyr@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Wed, 11 Sep 2019 18:02:57 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * tools/testing/selftests/clone3/clone3.c (test_clone3): Change format qualifier for printing size field from %d to %zu; place colon right after the word "says". Signed-off-by: Eugene Syromiatnikov --- tools/testing/selftests/clone3/clone3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/clone3/clone3.c b/tools/testing/selftests/clone3/clone3.c index 264d03a..86f888b 100644 --- a/tools/testing/selftests/clone3/clone3.c +++ b/tools/testing/selftests/clone3/clone3.c @@ -124,11 +124,11 @@ static int test_clone3(uint64_t flags, size_t size, int expected, { int ret; - ksft_print_msg("[%d] Trying clone3() with flags %#" PRIx64 " (size %d)" + ksft_print_msg("[%d] Trying clone3() with flags %#" PRIx64 " (size %zu)" "\n", getpid(), flags, size); ret = call_clone3(flags, size, test_mode); - ksft_print_msg("[%d] clone3() with flags says :%d expected %d\n", + ksft_print_msg("[%d] clone3() with flags says: %d expected %d\n", getpid(), ret, expected); if (ret != expected) ksft_exit_fail_msg( -- 2.1.4