diff options
author | Sumit Bose <sbose@redhat.com> | 2011-08-10 17:53:56 +0200 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2013-07-11 15:16:55 +1000 |
commit | 157f1cfefd898aa7fb3dc67796565e4d5ad3d37c (patch) | |
tree | 69c2e111284d2850afd15b495ed9c2c403d90509 /ctdb/server/ctdb_recoverd.c | |
parent | d039f799ac426c903289800edc8febabe5bec49d (diff) | |
download | samba-157f1cfefd898aa7fb3dc67796565e4d5ad3d37c.tar.gz samba-157f1cfefd898aa7fb3dc67796565e4d5ad3d37c.tar.xz samba-157f1cfefd898aa7fb3dc67796565e4d5ad3d37c.zip |
Fixes for various issues found by Coverity
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 05bfdbbd0d4abdfbcf28e3930086723508b35952)
Diffstat (limited to 'ctdb/server/ctdb_recoverd.c')
-rw-r--r-- | ctdb/server/ctdb_recoverd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/server/ctdb_recoverd.c b/ctdb/server/ctdb_recoverd.c index 5a6055c6c1f..93587341437 100644 --- a/ctdb/server/ctdb_recoverd.c +++ b/ctdb/server/ctdb_recoverd.c @@ -1260,8 +1260,8 @@ static int traverse_recdb(struct tdb_context *tdb, TDB_DATA key, TDB_DATA data, params->recdata = talloc_realloc_size(NULL, params->recdata, params->allocated_len); } if (params->recdata == NULL) { - DEBUG(DEBUG_CRIT,(__location__ " Failed to expand recdata to %u (%u records)\n", - rec->length + params->len, params->recdata->count)); + DEBUG(DEBUG_CRIT,(__location__ " Failed to expand recdata to %u\n", + rec->length + params->len)); params->failed = true; return -1; } |