get rid of compile warning

(Logical change 1.86)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@314 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Miyotaka Sakai 2004-09-29 01:22:03 +00:00
parent d4f5bb3f7a
commit 33e5ad01bb

View File

@ -182,7 +182,7 @@ printf ("Please wait, testing expiry of checkpoint sections.\n");
} while (error != SA_ERR_NOT_EXIST);
gettimeofday (&tv_end, NULL);
timersub (&tv_end, &tv_start, &tv_elapsed);
printf ("Elapsed Time to expiry is %d.%d (should be about %d seconds)\n", tv_elapsed.tv_sec, tv_elapsed.tv_usec, SECONDS_TO_EXPIRE);
printf ("Elapsed Time to expiry is %ld.%ld (should be about %d seconds)\n", tv_elapsed.tv_sec, tv_elapsed.tv_usec, SECONDS_TO_EXPIRE);
error = saCkptCheckpointRetentionDurationSet (&checkpointHandle,
5000000000);