|
|
Message-ID: <20250602091441.31518-1-pabloyoyoista@postmarketos.org>
Date: Mon, 2 Jun 2025 11:14:38 +0200
From: Pablo Correa Gómez <pabloyoyoista@...tmarketos.org>
To: musl@...ts.openwall.com
Cc: Pablo Correa Gómez <pabloyoyoista@...tmarketos.org>
Subject: [PATCH] getopt: use LCTRANS macro instead of hidden symbol
This is the only internal use of __lctrans functions
---
src/misc/getopt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/misc/getopt.c b/src/misc/getopt.c
index b02b81c3..f6c21c02 100644
--- a/src/misc/getopt.c
+++ b/src/misc/getopt.c
@@ -16,7 +16,7 @@ weak_alias(__optreset, optreset);
void __getopt_msg(const char *a, const char *b, const char *c, size_t l)
{
FILE *f = stderr;
- b = __lctrans_cur(b);
+ b = LCTRANS_CUR(b);
FLOCK(f);
fputs(a, f)>=0
&& fwrite(b, strlen(b), 1, f)
--
2.49.0
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.