From b5f1698e7809633b60b6ca8b47cb17f219b673d9 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Mon, 18 Aug 2025 22:27:38 +0300 Subject: [PATCH] fix ffi usage in named_pipe_unix.lua --- res/modules/internal/stream_providers/named_pipe_unix.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/res/modules/internal/stream_providers/named_pipe_unix.lua b/res/modules/internal/stream_providers/named_pipe_unix.lua index 0a9c8904..8de356fe 100644 --- a/res/modules/internal/stream_providers/named_pipe_unix.lua +++ b/res/modules/internal/stream_providers/named_pipe_unix.lua @@ -22,9 +22,9 @@ local O_NONBLOCK = 0x800 local F_GETFL = 3 local function getError() - local err = ffi.errno() + local err = FFI.errno() - return ffi.string(C.strerror(err)).." ("..err..")" + return FFI.string(C.strerror(err)).." ("..err..")" end local lib = {} @@ -101,4 +101,4 @@ return function(path, mode) end return io_stream.new(fd, mode:find('b') ~= nil, lib) -end \ No newline at end of file +end