summaryrefslogtreecommitdiffstats
path: root/server/db/sysdb.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-02-12 14:15:27 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-02-18 13:48:44 -0500
commit2c5bf74c71443f1680fef4fc0daa4a4c9dd10ad8 (patch)
treea4ef215d1fc40fadbed9bb5497fa32a96d151d39 /server/db/sysdb.c
parenta40a817535c28712e27fe2c0f87817af43a249a2 (diff)
downloadsssd-2c5bf74c71443f1680fef4fc0daa4a4c9dd10ad8.tar.gz
sssd-2c5bf74c71443f1680fef4fc0daa4a4c9dd10ad8.tar.xz
sssd-2c5bf74c71443f1680fef4fc0daa4a4c9dd10ad8.zip
Supress warnings with -O2
Diffstat (limited to 'server/db/sysdb.c')
-rw-r--r--server/db/sysdb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/db/sysdb.c b/server/db/sysdb.c
index 88d601189..b3f81a083 100644
--- a/server/db/sysdb.c
+++ b/server/db/sysdb.c
@@ -1188,7 +1188,7 @@ static int sysdb_check_upgrade_02(TALLOC_CTX *mem_ctx,
if (ret != LDB_SUCCESS) {
DEBUG(0, ("WARNING: Could not remove entry %s,"
" from old ldb file! (%d [%s])\n",
- ldb_dn_get_linearized(msg->dn),
+ ldb_dn_get_linearized(orig_dn),
ret, ldb_errstring(ldb)));
}
}
@@ -1200,21 +1200,21 @@ static int sysdb_check_upgrade_02(TALLOC_CTX *mem_ctx,
if (ret != LDB_SUCCESS) {
DEBUG(9, ("WARNING: Could not remove entry %s,"
" from old ldb file! (%d [%s])\n",
- ldb_dn_get_linearized(msg->dn),
+ ldb_dn_get_linearized(groups_dn),
ret, ldb_errstring(ldb)));
}
ret = ldb_delete(ldb, users_dn);
if (ret != LDB_SUCCESS) {
DEBUG(9, ("WARNING: Could not remove entry %s,"
" from old ldb file! (%d [%s])\n",
- ldb_dn_get_linearized(msg->dn),
+ ldb_dn_get_linearized(users_dn),
ret, ldb_errstring(ldb)));
}
ret = ldb_delete(ldb, domain_dn);
if (ret != LDB_SUCCESS) {
DEBUG(9, ("WARNING: Could not remove entry %s,"
" from old ldb file! (%d [%s])\n",
- ldb_dn_get_linearized(msg->dn),
+ ldb_dn_get_linearized(domain_dn),
ret, ldb_errstring(ldb)));
}