[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201011182230.25602-1-sam.hernandez.amador@gmail.com>
Date: Sun, 11 Oct 2020 14:22:31 -0400
From: Samuel Hernandez <sam.hernandez.amador@...il.com>
To: Willy Tarreau <w@....eu>
Cc: linux-kernel@...r.kernel.org,
Samuel Hernandez <sam.hernandez.amador@...il.com>
Subject: [PATCH] rcutorture/nolibc: Fix a typo in header file
Signed-off-by: Samuel Hernandez <sam.hernandez.amador@...il.com>
---
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(-)
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
--
2.26.2
Powered by blists - more mailing lists