2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-01 14:55:12 +00:00

Define sudo_ttyname_dev() for the HAVE_STRUCT_PSINFO_PR_TTYDEV case

too.
This commit is contained in:
Todd C. Miller
2012-11-27 10:49:46 -05:00
parent dd5d0eada7
commit d3ab8b080b

View File

@@ -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.
*/ */