corrects puts in libwrap
This commit is contained in:
parent
24b64bce3e
commit
c83b10df38
@ -6,6 +6,6 @@ extern ssize_t _bsp_write(int, const void *, size_t);
|
|||||||
|
|
||||||
int __wrap_puts(const char *s) {
|
int __wrap_puts(const char *s) {
|
||||||
int len = strlen(s);
|
int len = strlen(s);
|
||||||
return _bsp_write(0, s, len);
|
return _bsp_write(STDOUT_FILENO, s, len);
|
||||||
}
|
}
|
||||||
weak_under_alias(puts);
|
weak_under_alias(puts);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user