Skip to content

Commit 0db2c77

Browse files
committed
fixes compile
1 parent ec934a2 commit 0db2c77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bee/subprocess/subprocess_posix.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ namespace bee::subprocess {
113113
}
114114

115115
file_handle create_nul_file(bool read) noexcept {
116-
int fd = open("/dev/null", read ? O_RDONLY : O_WRONLY);
116+
int fd = ::open("/dev/null", read ? O_RDONLY : O_WRONLY);
117117
if (fd < 0) {
118118
return file_handle();
119119
}

0 commit comments

Comments
 (0)