rcutorture/nolibc: Fix a typo in header file
authorSamuel Hernandez <sam.hernandez.amador@gmail.com>
Sun, 11 Oct 2020 18:22:31 +0000 (14:22 -0400)
committerPaul E. McKenney <paulmck@kernel.org>
Sat, 7 Nov 2020 01:13:57 +0000 (17:13 -0800)
This fixes a typo. Before this, the AT_FDCWD macro would be defined
regardless of whether or not it's been defined before.

Signed-off-by: Samuel Hernandez <sam.hernandez.amador@gmail.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/include/nolibc/nolibc.h

index 2551e9b..d6d2623 100644 (file)
@@ -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