summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-30 14:05:50 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-30 14:25:10 +1000
commitd6f47bd5a36dab6c338bac2874e81c1a3480990d (patch)
tree1a2ee9478cf2cb71cb07624600b1f38d8c8413da /source4
parentea6b8ee026a4c53d9dfb5a42e4d9e485b89018e3 (diff)
downloadsamba-d6f47bd5a36dab6c338bac2874e81c1a3480990d.tar.gz
s4-torture: Fix format string errors found by -Werror=format
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/fsrvp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/torture/rpc/fsrvp.c b/source4/torture/rpc/fsrvp.c
index c13041f6400..8dac2b8525e 100644
--- a/source4/torture/rpc/fsrvp.c
+++ b/source4/torture/rpc/fsrvp.c
@@ -214,9 +214,9 @@ static bool test_fsrvp_sc_create(struct torture_context *tctx,
"PrepareShadowCopySet failed");
torture_assert_int_equal(tctx, r_scset_prep.out.result, 0,
"failed PrepareShadowCopySet response");
- torture_comment(tctx, "%s: prepare completed in %lu secs\n",
+ torture_comment(tctx, "%s: prepare completed in %llu secs\n",
GUID_string(tmp_ctx, r_scset_start.out.pShadowCopySetId),
- (uint64_t)(time_mono(NULL) - start_time));
+ (unsigned long long)(time_mono(NULL) - start_time));
start_time = time_mono(NULL);
ZERO_STRUCT(r_scset_commit);
@@ -227,9 +227,9 @@ static bool test_fsrvp_sc_create(struct torture_context *tctx,
"CommitShadowCopySet failed");
torture_assert_int_equal(tctx, r_scset_commit.out.result, 0,
"failed CommitShadowCopySet response");
- torture_comment(tctx, "%s: commit completed in %lu secs\n",
+ torture_comment(tctx, "%s: commit completed in %llu secs\n",
GUID_string(tmp_ctx, r_scset_start.out.pShadowCopySetId),
- (uint64_t)(time_mono(NULL) - start_time));
+ (unsigned long long)(time_mono(NULL) - start_time));
start_time = time_mono(NULL);
ZERO_STRUCT(r_scset_expose);
@@ -240,9 +240,9 @@ static bool test_fsrvp_sc_create(struct torture_context *tctx,
"ExposeShadowCopySet failed");
torture_assert_int_equal(tctx, r_scset_expose.out.result, 0,
"failed ExposeShadowCopySet response");
- torture_comment(tctx, "%s: expose completed in %lu secs\n",
+ torture_comment(tctx, "%s: expose completed in %llu secs\n",
GUID_string(tmp_ctx, r_scset_start.out.pShadowCopySetId),
- (uint64_t)(time_mono(NULL) - start_time));
+ (unsigned long long)(time_mono(NULL) - start_time));
ZERO_STRUCT(r_sharemap_get);
r_sharemap_get.in.ShadowCopyId = *r_scset_add.out.pShadowCopyId;