mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
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>
This commit is contained in:
parent
5a85786a90
commit
9fd2ceb55d
@ -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.")
|
||||
|
Loading…
Reference in New Issue
Block a user