fix(inotify): fix typo
This commit is contained in:
parent
2e1f469e3e
commit
f65eb76893
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ pub fn Create(comptime variant: InterfaceType) type {
|
||||||
while (true) {
|
while (true) {
|
||||||
const n = std.posix.read(self.inotify_fd, &buf) catch |e| switch (e) {
|
const n = std.posix.read(self.inotify_fd, &buf) catch |e| switch (e) {
|
||||||
error.WouldBlock => {
|
error.WouldBlock => {
|
||||||
// re-arm the file_discriptor
|
// re-arm the file descriptor
|
||||||
try self.arm(allocator);
|
try self.arm(allocator);
|
||||||
break;
|
break;
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue