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));
}
#elif defined(__linux__)
#elif defined(HAVE_STRUCT_PSINFO_PR_TTYDEV) || defined(__linux__)
/*
* Devices to search before doing a breadth-first scan.
*/