mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
Remove compile warning for lock_id.
%llx --> PRIx64
This commit is contained in:
parent
0b1a79bf1f
commit
2011571bf5
@ -509,8 +509,8 @@ static int _lock_resource(char *resource, int mode, int flags, int *lockid)
|
|||||||
|
|
||||||
/* Wait for it to complete */
|
/* Wait for it to complete */
|
||||||
|
|
||||||
DEBUGLOG("lock_resource returning %d, lock_id=%llx\n", err,
|
DEBUGLOG("lock_resource returning %d, lock_id=%" PRIx64 "\n",
|
||||||
lock_id);
|
err, lock_id);
|
||||||
|
|
||||||
linfo->lock_id = lock_id;
|
linfo->lock_id = lock_id;
|
||||||
linfo->res_handle = res_handle;
|
linfo->res_handle = res_handle;
|
||||||
@ -531,7 +531,7 @@ static int _unlock_resource(char *resource, int lockid)
|
|||||||
if (!linfo)
|
if (!linfo)
|
||||||
return 0;
|
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);
|
err = saLckResourceUnlock(linfo->lock_id, SA_TIME_END);
|
||||||
if (err != SA_AIS_OK)
|
if (err != SA_AIS_OK)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user