1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Remove compile warning for lock_id.

%llx --> PRIx64
This commit is contained in:
Peter Rajnoha 2011-03-13 18:08:26 +00:00
parent 0b1a79bf1f
commit 2011571bf5

View File

@ -509,8 +509,8 @@ static int _lock_resource(char *resource, int mode, int flags, int *lockid)
/* Wait for it to complete */
DEBUGLOG("lock_resource returning %d, lock_id=%llx\n", err,
lock_id);
DEBUGLOG("lock_resource returning %d, lock_id=%" PRIx64 "\n",
err, lock_id);
linfo->lock_id = lock_id;
linfo->res_handle = res_handle;
@ -531,7 +531,7 @@ static int _unlock_resource(char *resource, int lockid)
if (!linfo)
return 0;
DEBUGLOG("unlock_resource: lockid: %llx\n", linfo->lock_id);
DEBUGLOG("unlock_resource: lockid: %" PRIx64 "\n", linfo->lock_id);
err = saLckResourceUnlock(linfo->lock_id, SA_TIME_END);
if (err != SA_AIS_OK)
{