summaryrefslogtreecommitdiff
path: root/src/core/umount.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/umount.c')
-rw-r--r--src/core/umount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/umount.c b/src/core/umount.c
index acfbbe5e03..1e95ad70dd 100644
--- a/src/core/umount.c
+++ b/src/core/umount.c
@@ -379,7 +379,7 @@ static int delete_loopback(const char *device) {
}
static int delete_dm(dev_t devnum) {
- int _cleanup_close_ fd = -1;
+ _cleanup_close_ int fd = -1;
int r;
struct dm_ioctl dm = {
.version = {DM_VERSION_MAJOR,