Better match debugging.

Sprinkle const in match functions.
This commit is contained in:
Todd C. Miller
2013-12-05 14:34:56 -07:00
parent 1739350e20
commit 2508da6f68
7 changed files with 137 additions and 89 deletions

View File

@@ -225,7 +225,7 @@ sudo_make_gritem(gid_t gid, const char *name)
* elements. Fills in datum from user_gids or from getgrouplist(3).
*/
struct cache_item *
sudo_make_grlist_item(struct passwd *pw, char * const *unused1,
sudo_make_grlist_item(const struct passwd *pw, char * const *unused1,
char * const *unused2)
{
char *cp;