summaryrefslogtreecommitdiff
path: root/source3/utils/net_groupmap.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-09-11 07:31:39 +0000
committerTim Potter <tpot@samba.org>2003-09-11 07:31:39 +0000
commit7c6b4a1d18cf3b72569fe491b33be190f65c49a7 (patch)
treee4e4d1ac210db2044a0fc4a3819bbe141c1a80c3 /source3/utils/net_groupmap.c
parentff166384c84acb24fad4abe54e2ec43a7f4fdfc3 (diff)
downloadsamba-7c6b4a1d18cf3b72569fe491b33be190f65c49a7.tar.gz
samba-7c6b4a1d18cf3b72569fe491b33be190f65c49a7.tar.bz2
samba-7c6b4a1d18cf3b72569fe491b33be190f65c49a7.zip
Merge from samba-3.0:
>Fix error message when calling namedtogid() fails adding a group map >entry. Bug #431. (This used to be commit 1befe1758351f43558808a3c91543752e7ff7823)
Diffstat (limited to 'source3/utils/net_groupmap.c')
-rw-r--r--source3/utils/net_groupmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_groupmap.c b/source3/utils/net_groupmap.c
index 9937145230..f99876bbd8 100644
--- a/source3/utils/net_groupmap.c
+++ b/source3/utils/net_groupmap.c
@@ -258,7 +258,7 @@ static int net_groupmap_add(int argc, const char **argv)
}
if ( (gid = nametogid(unixgrp)) == (gid_t)-1 ) {
- d_printf("Can't lookup UNIX group %s\n", ntgroup);
+ d_printf("Can't lookup UNIX group %s\n", unixgrp);
return -1;
}