summaryrefslogtreecommitdiffstats
path: root/sys-utils/rfkill.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys-utils/rfkill.c')
-rw-r--r--sys-utils/rfkill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/rfkill.c b/sys-utils/rfkill.c
index 6b586d2ed..7914c4309 100644
--- a/sys-utils/rfkill.c
+++ b/sys-utils/rfkill.c
@@ -452,7 +452,7 @@ static int rfkill_block(uint8_t block, const char *param)
closelog();
}
free(message);
- return close_fd(fd);
+ return close(fd);
}
static void __attribute__((__noreturn__)) usage(void)