summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSamuel Hernandez <sam.hernandez.amador@gmail.com>2020-10-11 14:22:31 -0400
committerPaul E. McKenney <paulmck@kernel.org>2020-11-06 17:13:57 -0800
commit6c5b9de2c63b2f513a580c6c80d455350012e99b (patch)
tree301c4086e341ce4da530aebe038c30bd523aa24b /tools
parenta7eb937b67b64b8b4645f1ebca3ac2079c6de81b (diff)
downloadlinux-6c5b9de2c63b2f513a580c6c80d455350012e99b.tar.gz
linux-6c5b9de2c63b2f513a580c6c80d455350012e99b.tar.bz2
linux-6c5b9de2c63b2f513a580c6c80d455350012e99b.zip
rcutorture/nolibc: Fix a typo in header file
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/include/nolibc/nolibc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/include/nolibc/nolibc.h b/tools/include/nolibc/nolibc.h
index 2551e9b71167..d6d2623c99ad 100644
--- a/tools/include/nolibc/nolibc.h
+++ b/tools/include/nolibc/nolibc.h
@@ -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