chiark / gitweb /
move _cleanup_ attribute in front of the type
[elogind.git] / src / vconsole / vconsole-setup.c
index ee1f3ebdb088e7745dc155b473bcc4dfc085cc7d..1bbf737c36f9dde13d968ae07ea28babd5f21dba 100644 (file)
@@ -189,7 +189,7 @@ static void font_copy_to_all_vcs(int fd) {
 
         for (i = 1; i <= 15; i++) {
                 char vcname[16];
-                int _cleanup_close_ vcfd = -1;
+                _cleanup_close_ int vcfd = -1;
                 struct console_font_op cfo = {};
 
                 if (i == vcs.v_active)