diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2021-09-20 01:45:55 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2021-09-20 14:26:09 +0200 |
commit | efaab93491751ccf39108d076745c6774b263232 (patch) | |
tree | b00abecd4a88dc2934e888b31e8176cf32af17c7 /daemons | |
parent | 055406bb398ddf60f18c545baffcec4ee4d5646e (diff) | |
download | lvm2-efaab93491751ccf39108d076745c6774b263232.tar.gz |
cov: ignore syscall
Diffstat (limited to 'daemons')
-rw-r--r-- | daemons/lvmlockd/lvmlockd-core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/daemons/lvmlockd/lvmlockd-core.c b/daemons/lvmlockd/lvmlockd-core.c index 701372220..c1785a764 100644 --- a/daemons/lvmlockd/lvmlockd-core.c +++ b/daemons/lvmlockd/lvmlockd-core.c @@ -919,7 +919,7 @@ static void write_adopt_file(void) pthread_mutex_unlock(&lockspaces_mutex); fflush(fp); - fclose(fp); + (void) fclose(fp); } static int read_adopt_file(struct list_head *vg_lockd) @@ -1010,11 +1010,11 @@ static int read_adopt_file(struct list_head *vg_lockd) } } - fclose(fp); + (void) fclose(fp); return 0; fail: - fclose(fp); + (void) fclose(fp); return -1; } |