summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-02-09 13:47:21 +0100
committerMichael Adam <obnox@samba.org>2011-02-09 14:00:35 +0100
commita6d45d0ad8389b0ad45ff376c6d6abce506dbc2b (patch)
treecd23a6f7ad7ac88dbc305962baa9151014862e8c /source3
parent59ccfac21177ebf40b7cf699b406189effbb05d6 (diff)
downloadsamba-a6d45d0ad8389b0ad45ff376c6d6abce506dbc2b.tar.gz
samba-a6d45d0ad8389b0ad45ff376c6d6abce506dbc2b.tar.bz2
samba-a6d45d0ad8389b0ad45ff376c6d6abce506dbc2b.zip
s3:net idmap dump: report correct database file when failed to open idmap db.
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_idmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_idmap.c b/source3/utils/net_idmap.c
index 347cbbf8a5..d042c16ec4 100644
--- a/source3/utils/net_idmap.c
+++ b/source3/utils/net_idmap.c
@@ -124,7 +124,7 @@ static int net_idmap_dump(struct net_context *c, int argc, const char **argv)
db = db_open(mem_ctx, dbfile, 0, TDB_DEFAULT, O_RDONLY, 0);
if (db == NULL) {
d_fprintf(stderr, _("Could not open idmap db (%s): %s\n"),
- argv[0], strerror(errno));
+ dbfile, strerror(errno));
goto done;
}