From: Michael Adam Date: Wed, 9 Feb 2011 12:47:21 +0000 (+0100) Subject: s3:net idmap dump: report correct database file when failed to open idmap db. X-Git-Tag: tevent-0.9.11~841 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a6d45d0ad8389b0ad45ff376c6d6abce506dbc2b;p=thirdparty%2Fsamba.git s3:net idmap dump: report correct database file when failed to open idmap db. --- diff --git a/source3/utils/net_idmap.c b/source3/utils/net_idmap.c index 347cbbf8a51..d042c16ec40 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; }