Define sudo_ttyname_dev() for the HAVE_STRUCT_PSINFO_PR_TTYDEV case
too.
This commit is contained in:
@@ -155,7 +155,7 @@ sudo_ttyname_dev(dev_t tdev)
|
|||||||
|
|
||||||
debug_return_str(estrdup(tty));
|
debug_return_str(estrdup(tty));
|
||||||
}
|
}
|
||||||
#elif defined(__linux__)
|
#elif defined(HAVE_STRUCT_PSINFO_PR_TTYDEV) || defined(__linux__)
|
||||||
/*
|
/*
|
||||||
* Devices to search before doing a breadth-first scan.
|
* Devices to search before doing a breadth-first scan.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user