mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix wrong return type of ModeToDT kernel function.
This commit is contained in:
parent
0235fc3a62
commit
73e44a5ff5
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@
|
|||
|
||||
namespace Sortix {
|
||||
|
||||
bool ModeToDT(mode_t mode)
|
||||
unsigned char ModeToDT(mode_t mode)
|
||||
{
|
||||
if ( S_ISSOCK(mode) )
|
||||
return DT_SOCK;
|
||||
|
|
|
@ -33,7 +33,7 @@ static inline bool IsDotOrDotDot(const char* path)
|
|||
(path[1] == '.' && path[2] == '\0'));
|
||||
}
|
||||
|
||||
bool ModeToDT(mode_t mode);
|
||||
unsigned char ModeToDT(mode_t mode);
|
||||
bool SplitFinalElem(const char* path, char** dir, char** final);
|
||||
|
||||
} // namespace Sortix
|
||||
|
|
Loading…
Reference in a new issue