X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=src%2Fcore%2Fumount.c;h=1e95ad70dd0beb85394c23fab0b6e25f9075ee7e;hb=7fd1b19bc9e9f5574f2877936b8ac267c7706947;hp=acfbbe5e03af540cbc292b46a221ab1e4e31ce0d;hpb=d70964d0f61f1add3a71c83beb925fc1fa2fab6b;p=elogind.git diff --git a/src/core/umount.c b/src/core/umount.c index acfbbe5e0..1e95ad70d 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,