diff options
| author | Frederic Cambus <fred@statdns.com> | 2023-12-05 12:23:07 +0100 |
|---|---|---|
| committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-01-12 15:21:26 +0100 |
| commit | 9fd2ceb55de003c09c909103966db913319bcfdc (patch) | |
| tree | 4310ff619fac38afdb32ec78d9e10a8d60dcf0e6 /debug | |
| parent | 5a85786a9005722be7cb9e70f8874a5f1130daea (diff) | |
| download | glibc-9fd2ceb55de003c09c909103966db913319bcfdc.tar.xz glibc-9fd2ceb55de003c09c909103966db913319bcfdc.zip | |
debug/getwd_chk.c: warning should be emitted for the __getwd_chk symbol.
Otherwise the warning message for the getwd symbol ends up being duplicated.
Signed-off-by: Frederic Cambus <fred@statdns.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'debug')
| -rw-r--r-- | debug/getwd_chk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/getwd_chk.c b/debug/getwd_chk.c index dadbb3d865..af19f782aa 100644 --- a/debug/getwd_chk.c +++ b/debug/getwd_chk.c @@ -29,5 +29,5 @@ __getwd_chk (char *buf, size_t buflen) return res; } -link_warning (getwd, +link_warning (__getwd_chk, "the `getwd' function is dangerous and should not be used.") |
