mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
debug: show sys errors
This commit is contained in:
parent
ed2a08bf25
commit
eadebc3b61
@ -199,10 +199,10 @@ retry_fcntl:
|
|||||||
|
|
||||||
fail_close_unlink:
|
fail_close_unlink:
|
||||||
if (unlink(lockfile))
|
if (unlink(lockfile))
|
||||||
stack;
|
log_sys_debug("unlink", lockfile);
|
||||||
fail_close:
|
fail_close:
|
||||||
if (close(fd))
|
if (close(fd))
|
||||||
stack;
|
log_sys_debug("close", lockfile);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user