summaryrefslogtreecommitdiff
path: root/source4/torture/basic
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/basic')
-rw-r--r--source4/torture/basic/base.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/torture/basic/base.c b/source4/torture/basic/base.c
index eeba252dc6..d5090e9c1f 100644
--- a/source4/torture/basic/base.c
+++ b/source4/torture/basic/base.c
@@ -1777,7 +1777,8 @@ static bool run_birthtimetest(struct torture_context *tctx,
smbcli_errstr(cli->tree));
correct = false;
} else {
- fprintf(stdout,"c_time = %d, c_time1 = %d\n",c_time,c_time1);
+ fprintf(stdout, "c_time = %li, c_time1 = %li\n",
+ (long) c_time, (long) c_time1);
if (c_time1 != c_time) {
torture_comment(tctx, "This system updated file \
birth times! Not expected!\n");
@@ -1820,7 +1821,8 @@ static bool run_birthtimetest(struct torture_context *tctx,
smbcli_errstr(cli->tree));
correct = false;
} else {
- fprintf(stdout,"c_time = %d, c_time1 = %d\n",c_time,c_time1);
+ fprintf(stdout, "c_time = %li, c_time1 = %li\n",
+ (long) c_time, (long) c_time1);
if (c_time1 != c_time) {
torture_comment(tctx, "This system updated directory \
birth times! Not Expected!\n");