From a6d45d0ad8389b0ad45ff376c6d6abce506dbc2b Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 9 Feb 2011 13:47:21 +0100 Subject: s3:net idmap dump: report correct database file when failed to open idmap db. --- source3/utils/net_idmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit