diff options
Diffstat (limited to 'common/util.c')
-rw-r--r-- | common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/util.c b/common/util.c index 3a807edb..c0324b2f 100644 --- a/common/util.c +++ b/common/util.c | |||
@@ -77,7 +77,7 @@ const char *sway_wl_output_subpixel_to_string(enum wl_output_subpixel subpixel) | |||
77 | return NULL; | 77 | return NULL; |
78 | } | 78 | } |
79 | 79 | ||
80 | bool set_cloexec(int fd, bool cloexec) { | 80 | bool sway_set_cloexec(int fd, bool cloexec) { |
81 | int flags = fcntl(fd, F_GETFD); | 81 | int flags = fcntl(fd, F_GETFD); |
82 | if (flags == -1) { | 82 | if (flags == -1) { |
83 | sway_log_errno(SWAY_ERROR, "fcntl failed"); | 83 | sway_log_errno(SWAY_ERROR, "fcntl failed"); |