summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-09-11 01:57:08 +0000
committerTim Potter <tpot@samba.org>2003-09-11 01:57:08 +0000
commit5cf58a1b982ba48521942842dd21cca2ca02f4d0 (patch)
treead26d98e5730183b966dcc33027c7f676adbc5fe /source3
parent4fd6fdd9a9f87cdb7d74ab092ca59d19c78e7e37 (diff)
downloadsamba-5cf58a1b982ba48521942842dd21cca2ca02f4d0.tar.gz
samba-5cf58a1b982ba48521942842dd21cca2ca02f4d0.tar.bz2
samba-5cf58a1b982ba48521942842dd21cca2ca02f4d0.zip
Fix error message when calling namedtogid() fails adding a group map
entry. Bug #431. (This used to be commit bc8a181477866d0d97324bf45431bcdff895ad18)
Diffstat (limited to 'source3')
-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;
}