mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Samuel Hernandez <sam.hernandez.amador@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: linux-kernel@vger.kernel.org,
	Samuel Hernandez <sam.hernandez.amador@gmail.com>
Subject: [PATCH] rcutorture/nolibc: Fix a typo in header file
Date: Sun, 11 Oct 2020 14:22:31 -0400	[thread overview]
Message-ID: <20201011182230.25602-1-sam.hernandez.amador@gmail.com> (raw)

Signed-off-by: Samuel Hernandez <sam.hernandez.amador@gmail.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


             reply	other threads:[~2020-10-11 18:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-11 18:22 Samuel Hernandez [this message]
2020-10-12  8:09 ` Willy Tarreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201011182230.25602-1-sam.hernandez.amador@gmail.com \
    --to=sam.hernandez.amador@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=w@1wt.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®