diff options
-rw-r--r-- | source4/torture/raw/lock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/lock.c b/source4/torture/raw/lock.c index 4976d53b91..88bf6ccaff 100644 --- a/source4/torture/raw/lock.c +++ b/source4/torture/raw/lock.c @@ -549,7 +549,7 @@ static BOOL test_async(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) if (time(NULL) > t+2) { printf("lock cancel by unlock was not immediate (%s) - took %d secs\n", - __location__, (int)time(NULL)-t); + __location__, (int)(time(NULL)-t)); ret = False; goto done; } |