X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fumount.c;h=1e95ad70dd0beb85394c23fab0b6e25f9075ee7e;hb=a6b26d9011de60e1c41f51e8d2aab1d2f7bbf0f5;hp=acfbbe5e03af540cbc292b46a221ab1e4e31ce0d;hpb=ab06eef8101866dd1337c4759002f7360a9db416;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,