mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +00:00
Kernel: Get rid of SmapDisabler in sys$fstat()
This commit is contained in:
@@ -76,7 +76,6 @@ FileDescription::~FileDescription()
|
||||
|
||||
KResult FileDescription::fstat(stat& buffer)
|
||||
{
|
||||
SmapDisabler disabler;
|
||||
if (is_fifo()) {
|
||||
memset(&buffer, 0, sizeof(buffer));
|
||||
buffer.st_mode = 001000;
|
||||
|
||||
Reference in New Issue
Block a user