summaryrefslogtreecommitdiff
path: root/source3/utils/smbgroupedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/smbgroupedit.c')
-rw-r--r--source3/utils/smbgroupedit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/smbgroupedit.c b/source3/utils/smbgroupedit.c
index bdff59c6f2..b5033e0384 100644
--- a/source3/utils/smbgroupedit.c
+++ b/source3/utils/smbgroupedit.c
@@ -177,8 +177,8 @@ static int changegroup(char *sid_string, char *group, enum SID_NAME_USE sid_type
if (privilege!=NULL)
convert_priv_from_text(&map.priv_set, privilege);
- if (!pdb_add_group_mapping_entry(&map)) {
- printf("Count not update group database\n");
+ if (!pdb_update_group_mapping_entry(&map)) {
+ printf("Could not update group database\n");
free_privilege(&map.priv_set);
return -1;
}