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)
free(vc_font_map);
free(vc_font_unimap);
- if (fd >= 0)
- close_nointr_nofail(fd);
+ safe_close(fd);
return r;
}