public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] io: Fix a typo
@ 2023-05-20 16:16 Samuel Thibault
0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2023-05-20 16:16 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e1b02c5ed4099a53db8f356303fc0ef88db8a131
commit e1b02c5ed4099a53db8f356303fc0ef88db8a131
Author: Sergey Bugaev <bugaevc@gmail.com>
Date: Sat May 20 14:55:31 2023 +0300
io: Fix a typo
Fixes 85f7554cd97e7f03d8dc66278653045ef63a2221
"Add test case for O_TMPFILE handling in open, openat"
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-Id: <20230520115531.3911877-3-bugaevc@gmail.com>
Diff:
---
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 666a3a308b..9541a94296 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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-20 16:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-20 16:16 [glibc] io: Fix a typo Samuel Thibault
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).