/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@
expression fd;
- close(fd);
- fd = -1;
+ fd = safe_close(fd);
- close_nointr(fd);
- safe_close(fd);