1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 01:55:10 +03:00

debug: show sys errors

This commit is contained in:
Zdenek Kabelac 2015-05-07 11:38:43 +02:00
parent ed2a08bf25
commit eadebc3b61

View File

@ -199,10 +199,10 @@ retry_fcntl:
fail_close_unlink:
if (unlink(lockfile))
stack;
log_sys_debug("unlink", lockfile);
fail_close:
if (close(fd))
stack;
log_sys_debug("close", lockfile);
return 0;
}