rcutorture/nolibc: Fix a typo in header file
PATCH 1/1 rcutorture/nolibc: Fix a typo in header file
Signed-off-by Samuel Hernandez <[email protected]>
---
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
@@ -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
Willy Tarreau
maintainerHello Samuel,
Quoted 4 lines · Samuel Hernandez
Signed-off-by Samuel Hernandez <[email protected]>---
This fixes a supposed typo. Before this, theAT_FDCWDmacro 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