projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70d0dda
)
io: Fix a typo
author
Sergey Bugaev
<bugaevc@gmail.com>
Sat, 20 May 2023 11:55:31 +0000
(14:55 +0300)
committer
Samuel Thibault
<samuel.thibault@ens-lyon.org>
Sat, 20 May 2023 16:16:13 +0000
(18:16 +0200)
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>
io/tst-open-tmpfile.c
patch
|
blob
|
history
diff --git
a/io/tst-open-tmpfile.c
b/io/tst-open-tmpfile.c
index
666a3a3
..
9541a94
100644
(file)
--- 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_de
t
eted (int fd)
+is_file_de
l
eted (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_de
t
eted (fd))
+ if (!is_file_de
l
eted (fd))
{
printf ("error: path in /proc is not marked as deleted\n");
exit (1);