summaryrefslogtreecommitdiff
path: root/daemons/lvmlockd
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2021-09-20 01:45:55 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2021-09-20 14:26:09 +0200
commitefaab93491751ccf39108d076745c6774b263232 (patch)
treeb00abecd4a88dc2934e888b31e8176cf32af17c7 /daemons/lvmlockd
parent055406bb398ddf60f18c545baffcec4ee4d5646e (diff)
downloadlvm2-efaab93491751ccf39108d076745c6774b263232.tar.gz
cov: ignore syscall
Diffstat (limited to 'daemons/lvmlockd')
-rw-r--r--daemons/lvmlockd/lvmlockd-core.c6
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;
}