From 7be16db1c60575603be7b45b7318ad39240be197 Mon Sep 17 00:00:00 2001 From: Willow Barraco Date: Sat, 29 Jul 2023 14:15:31 +0200 Subject: [PATCH] Fix err: rt::errno type missmatch Signed-off-by: Willow Barraco --- ev/+linux/file.ha | 2 +- diff --git a/ev/+linux/file.ha b/ev/+linux/file.ha index 338561f59a179ce0a77c9c065f7809240768305e..303404bf2a54d49aaa3b59ffccad9983f8b47669 100644 --- a/ev/+linux/file.ha +++ b/ev/+linux/file.ha @@ -80,7 +80,7 @@ match (rt::epoll_ctl(loop.fd, rt::EPOLL_CTL_ADD, fd, &ev)) { case void => yield; case let err: rt::errno => - if (err: int == rt::EPERM) { + if (err == rt::EPERM) { // epoll(2) does not support regular files, use blocking // I/O instead file.flags = fflags::BLOCKING; -- 2.48.1