diff options
Diffstat (limited to 'groupaccess.c')
-rw-r--r-- | groupaccess.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/groupaccess.c b/groupaccess.c index 9e4d25521..80d301915 100644 --- a/groupaccess.c +++ b/groupaccess.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: groupaccess.c,v 1.16 2015/05/04 06:10:48 djm Exp $ */ | 1 | /* $OpenBSD: groupaccess.c,v 1.17 2019/03/06 22:14:23 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001 Kevin Steves. All rights reserved. | 3 | * Copyright (c) 2001 Kevin Steves. All rights reserved. |
4 | * | 4 | * |
@@ -103,7 +103,8 @@ ga_match_pattern_list(const char *group_pattern) | |||
103 | int i, found = 0; | 103 | int i, found = 0; |
104 | 104 | ||
105 | for (i = 0; i < ngroups; i++) { | 105 | for (i = 0; i < ngroups; i++) { |
106 | switch (match_pattern_list(groups_byname[i], group_pattern, 0)) { | 106 | switch (match_usergroup_pattern_list(groups_byname[i], |
107 | group_pattern)) { | ||
107 | case -1: | 108 | case -1: |
108 | return 0; /* Negated match wins */ | 109 | return 0; /* Negated match wins */ |
109 | case 0: | 110 | case 0: |