From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by sourceware.org (Postfix) with ESMTPS id 863413858C78 for ; Sat, 20 May 2023 11:55:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 863413858C78 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2ab3e8f4efeso21689121fa.0 for ; Sat, 20 May 2023 04:55:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684583736; x=1687175736; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=irAmpMfBji1D6L+bXVJ+Gt6WzQDqI/BihSNqmCLTLFQ=; b=T2lHaIkn2zPXhCIUqZ66rgylkVIvg4z016qbreWMFGNX49tgKTmJHGdTnweQfH7siX C9/CITV79v5lQtjV8ySbQRlgmDn4aP5n4uNf01FmLDNDklfoKhJqQHjE80JHZF/K4WpF NtiDe4Jq7PWyiumw56/6VmALhPRNoFogozg7X+2lwP140QhmXjXf4sQtcxKV/Rd4etXi IwBkhNXUidsNkul0sfX2eEuokRgMtdxpGTxQt3cIbdqWKME17pYSVYuzwRUcIxL8MfWi 0ZqVTWiHs8YONhajUUm2tBE9IJqv80l/cgcvT7lZNex/qlTukJg8XW52xsxwjpWwAdc7 kanA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684583736; x=1687175736; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=irAmpMfBji1D6L+bXVJ+Gt6WzQDqI/BihSNqmCLTLFQ=; b=NeGXsqVBv0kgYUR65ylclDnnGOmqHhowMLymyWyveAah6Nyi9GADY/+mDqxsyO5lqu S8cMR2E95xqDwmQvpPjNa4yCd/oayzxQS4Fhl+6kpiEfTJtSXQWZOE0JrHfQPZkD73/p /yyGt0byc+ke9NU6xP7enRC3rVeSt+MCv2nNDAx8EQnGO8AsKBdSf6YdDDHRui7gsOVD d7QudMaztt2gviVg7Wk6A0/gqp7ZHElmD5hMGy6U1CPGfi+TrSukDq2MnW+xMeu7Xre5 aQGmflpOoNgSwQFxnt3DgXjpPe4/ZMrTeFpgXNnG7+FbukQvf6UAiRpMtTcUH2RsfC9z 7caw== X-Gm-Message-State: AC+VfDwj7jrQVFXmVWM/4ZriKbf/033n2gRA3vFT2mUzMyFuoului3dB KuOnSIXTL3ciOZyWxzkIX94bptHGAQI= X-Google-Smtp-Source: ACHHUZ4BCprLoIxYDZO4Vq5Qq3Aq/c2QugvWfFqD4CXRzFweXnWjI2H2RiM/SDtnTLsor2EnCQc+DA== X-Received: by 2002:a05:6512:4c2:b0:4f0:27a:8318 with SMTP id w2-20020a05651204c200b004f0027a8318mr2254177lfq.26.1684583735800; Sat, 20 May 2023 04:55:35 -0700 (PDT) Received: from surface-pro-6.. ([2a00:1370:818c:4a57:c81f:63f8:270e:be79]) by smtp.gmail.com with ESMTPSA id k7-20020ac24567000000b004efe9a169d2sm250767lfm.64.2023.05.20.04.55.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 May 2023 04:55:35 -0700 (PDT) From: Sergey Bugaev To: libc-alpha@sourceware.org, bug-hurd@gnu.org Subject: [PATCH 3/3] io: Fix a typo Date: Sat, 20 May 2023 14:55:31 +0300 Message-Id: <20230520115531.3911877-3-bugaevc@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230520115531.3911877-1-bugaevc@gmail.com> References: <20230520115531.3911877-1-bugaevc@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Fixes 85f7554cd97e7f03d8dc66278653045ef63a2221 "Add test case for O_TMPFILE handling in open, openat" Signed-off-by: Sergey Bugaev --- io/tst-open-tmpfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/io/tst-open-tmpfile.c b/io/tst-open-tmpfile.c index 666a3a30..9541a942 100644 --- a/io/tst-open-tmpfile.c +++ b/io/tst-open-tmpfile.c @@ -92,7 +92,7 @@ wrap_openat64 (const char *path, int flags, mode_t mode) /* Return true if FD is flagged as deleted in /proc/self/fd, false if not. */ static bool -is_file_deteted (int fd) +is_file_deleted (int fd) { char *proc_fd_path = xasprintf ("/proc/self/fd/%d", fd); char file_path[4096]; @@ -172,7 +172,7 @@ check_wrapper_flags_mode (const char *op, wrapper_func wrapper, } /* Check that the file is marked as deleted in /proc. */ - if (!is_file_deteted (fd)) + if (!is_file_deleted (fd)) { printf ("error: path in /proc is not marked as deleted\n"); exit (1); -- 2.40.1