diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2015-05-07 11:38:43 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2015-05-08 15:15:10 +0200 |
commit | eadebc3b615c8dec8f99f5e411b01c97b791987b (patch) | |
tree | 875cbc523254d88a9939ec22a0dcff778d137fea | |
parent | ed2a08bf25e3b4e6a88c55402ab5dc11061ad68e (diff) | |
download | lvm2-eadebc3b615c8dec8f99f5e411b01c97b791987b.tar.gz |
debug: show sys errors
-rw-r--r-- | libdm/libdm-file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdm/libdm-file.c b/libdm/libdm-file.c index 26c8241df..52f9d4540 100644 --- a/libdm/libdm-file.c +++ b/libdm/libdm-file.c @@ -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; } |