dirent.h: Fix typo in __nonnull attribute

Message ID 20230711140228.39386-1-alx@kernel.org
State New
Headers
Series dirent.h: Fix typo in __nonnull attribute |

Checks

Context Check Description
redhat-pt-bot/TryBot-apply_patch success Patch applied to master at the time it was sent
redhat-pt-bot/TryBot-32bit success Build for i686
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_glibc_build--master-arm success Testing passed
linaro-tcwg-bot/tcwg_glibc_check--master-arm success Testing passed

Commit Message

Alejandro Colomar July 11, 2023, 2:02 p.m. UTC
  Cc: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
---
 include/dirent.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/include/dirent.h b/include/dirent.h
index d7567f5e86..73384f5582 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -50,7 +50,7 @@  extern int __versionsort64 (const struct dirent64 **a,
      __attribute_pure__;
 extern DIR *__alloc_dir (int fd, bool close_fd, int flags,
 			 const struct __stat64_t64 *statp)
-     __nonnull (4) attribute_hidden;
+     __nonnull ((4)) attribute_hidden;
 extern __typeof (rewinddir) __rewinddir;
 extern __typeof (seekdir) __seekdir;
 extern __typeof (dirfd) __dirfd;