r6675: Fix printf warning.
authorTim Potter <tpot@samba.org>
Mon, 9 May 2005 02:29:22 +0000 (02:29 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:16:33 +0000 (13:16 -0500)
source/torture/raw/lock.c

index 4976d53b910de5577e4c26679e7009ea440c45c9..88bf6ccaff9b4dd45fb711c912121f54895fc71b 100644 (file)
@@ -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;
        }