summaryrefslogtreecommitdiff
path: root/src/login/inhibit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/inhibit.c')
-rw-r--r--src/login/inhibit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/inhibit.c b/src/login/inhibit.c
index fbab42aff1..fe108c6ef0 100644
--- a/src/login/inhibit.c
+++ b/src/login/inhibit.c
@@ -229,7 +229,7 @@ int main(int argc, char *argv[]) {
int r, exit_code = 0;
DBusConnection *bus = NULL;
DBusError error;
- int _cleanup_close_ fd = -1;
+ _cleanup_close_ int fd = -1;
dbus_error_init(&error);