mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-30 13:58:05 +00:00
Add back buf and tty variables for _ttyname() case that were
inadvertantly removed.
This commit is contained in:
parent
28688e70a2
commit
21eddb5d60
@ -146,6 +146,7 @@ extern char *_ttyname_dev(dev_t rdev, char *buffer, size_t buflen);
|
||||
static char *
|
||||
sudo_ttyname_dev(dev_t tdev)
|
||||
{
|
||||
char buf[TTYNAME_MAX], *tty;
|
||||
debug_decl(sudo_ttyname_dev, SUDO_DEBUG_UTIL)
|
||||
|
||||
tty = _ttyname_dev(tdev, buf, sizeof(buf));
|
||||
|
Loading…
x
Reference in New Issue
Block a user