1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 22:45:07 +00:00

Minor errno fixups.

This commit is contained in:
Andreas Kling 2018-10-14 22:16:28 +02:00
parent 39444c5916
commit c6d6ba7512
3 changed files with 37 additions and 34 deletions

View file

@ -5,6 +5,7 @@
#include <cstdio> #include <cstdio>
#include <cstring> #include <cstring>
#include <AK/kmalloc.h> #include <AK/kmalloc.h>
#include "sys-errno.h"
//#define EXT2_DEBUG //#define EXT2_DEBUG

View file

@ -1,6 +1,7 @@
#include "FileHandle.h" #include "FileHandle.h"
#include "FileSystem.h" #include "FileSystem.h"
#include "CharacterDevice.h" #include "CharacterDevice.h"
#include "sys-errno.h"
FileHandle::FileHandle(RetainPtr<VirtualFileSystem::Node>&& vnode) FileHandle::FileHandle(RetainPtr<VirtualFileSystem::Node>&& vnode)
: m_vnode(std::move(vnode)) : m_vnode(std::move(vnode))

View file

@ -35,3 +35,4 @@
#define EDOM 33 // Math argument out of domain of func #define EDOM 33 // Math argument out of domain of func
#define ERANGE 34 // Math result not representable #define ERANGE 34 // Math result not representable
#define EOVERFLOW 75 // Value too large for defined data type