diff options
author | Amitay Isaacs <amitay@gmail.com> | 2016-07-27 12:20:21 +1000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2016-07-28 05:00:15 +0200 |
commit | e42d587f100a142200ca5a49fa25818c1cbfcdb7 (patch) | |
tree | 78be344c21d51419512e8abf378f161825becdf1 /ctdb | |
parent | 13dcaff12c5dfe700462346c42b5aa4a5e18457d (diff) | |
download | samba-e42d587f100a142200ca5a49fa25818c1cbfcdb7.tar.gz |
ctdb-tests: Fix CID 1364523 (Argument cannot be negative)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb')
-rw-r--r-- | ctdb/tests/src/g_lock_loop.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ctdb/tests/src/g_lock_loop.c b/ctdb/tests/src/g_lock_loop.c index 688ac0bf41a..f29d0f1235a 100644 --- a/ctdb/tests/src/g_lock_loop.c +++ b/ctdb/tests/src/g_lock_loop.c @@ -234,8 +234,7 @@ int main(int argc, const char *argv[]) ret = ctdb_client_init(mem_ctx, ev, opts->socket, &client); if (ret != 0) { - fprintf(stderr, "Failed to initialize client, %s\n", - strerror(ret)); + fprintf(stderr, "Failed to initialize client, ret=%d\n", ret); exit(1); } |