diff options
Diffstat (limited to 'Kernel/FileSystem/FIFO.cpp')
-rw-r--r-- | Kernel/FileSystem/FIFO.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/FIFO.cpp b/Kernel/FileSystem/FIFO.cpp index 0b5e115494..a190c07f87 100644 --- a/Kernel/FileSystem/FIFO.cpp +++ b/Kernel/FileSystem/FIFO.cpp @@ -27,7 +27,7 @@ static int s_next_fifo_id = 1; NonnullRefPtr<FIFO> FIFO::create(uid_t uid) { - return adopt(*new FIFO(uid)); + return adopt_ref(*new FIFO(uid)); } KResultOr<NonnullRefPtr<FileDescription>> FIFO::open_direction(FIFO::Direction direction) |