Skip to contentSkip to conversation

rcutorture/nolibc: Fix a typo in header file

PATCH In review Samuel Hernandez 2 participants 2 messages Oct 11, 2020 – Oct 12, 2020 Nolibc header file

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rcutorture/nolibc: Fix a typo in header file

---
This fixes a supposed typo. Before this, the AT_FDCWD macro would be defined regardless of whether or not it's been defined before.

 tools/include/nolibc/nolibc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/include/nolibc/nolibc.h +1 -1
index 2551e9b71167..d6d2623c99ad 100644
@@ -231,7 +231,7 @@ struct rusage {
 #define DT_SOCK   12
 
 /* all the *at functions */
-#ifndef AT_FDWCD
+#ifndef AT_FDCWD
 #define AT_FDCWD             -100
 #endif
 
Signature · 1 line
2.26.2
maintainer
#1 lore raw

Hello Samuel,

Quoted 4 lines · Samuel Hernandez

---
This fixes a supposed typo. Before this, the AT_FDCWD macro would be defined regardless of whether or not it's been defined before.

Good catch!

Please note that the commit message must be placed *before* the "---" and before the signed-off-by. No need to resend, I'll adjust it on my end.

Thank you,
Willy