From: Sergey Bugaev <bugaevc@gmail.com>
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 [thread overview]
Message-ID: <20230520115531.3911877-3-bugaevc@gmail.com> (raw)
In-Reply-To: <20230520115531.3911877-1-bugaevc@gmail.com>
Fixes 85f7554cd97e7f03d8dc66278653045ef63a2221
"Add test case for O_TMPFILE handling in open, openat"
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
---
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
next prev parent reply other threads:[~2023-05-20 11:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-20 11:55 [PATCH 1/3] hurd: Use __hurd_fail () instead of assigning errno Sergey Bugaev
2023-05-20 11:55 ` [PATCH 2/3] htl: " Sergey Bugaev
2023-05-20 16:15 ` Samuel Thibault
2023-05-20 11:55 ` Sergey Bugaev [this message]
2023-05-20 16:15 ` [PATCH 3/3] io: Fix a typo Samuel Thibault
2023-05-20 16:15 ` [PATCH 1/3] hurd: Use __hurd_fail () instead of assigning errno Samuel Thibault
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230520115531.3911877-3-bugaevc@gmail.com \
--to=bugaevc@gmail.com \
--cc=bug-hurd@gnu.org \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).