diff options
author | Tim Potter <tpot@samba.org> | 2005-05-09 02:29:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:16:33 -0500 |
commit | 61d53d5d765ed6ea28337ab77810067e429593da (patch) | |
tree | f2d0070c6326f4b6f3740e8a806d33d055537248 /source4/torture/raw/lock.c | |
parent | 1838812454145f2c54321dddb218849f89eb60eb (diff) | |
download | samba-61d53d5d765ed6ea28337ab77810067e429593da.tar.gz samba-61d53d5d765ed6ea28337ab77810067e429593da.tar.xz samba-61d53d5d765ed6ea28337ab77810067e429593da.zip |
r6675: Fix printf warning.
(This used to be commit 513fc9c24493e007a9e4d034ca05657897a5eac2)
Diffstat (limited to 'source4/torture/raw/lock.c')
-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; } |