stat: Recognize sockets properly
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
9b01b5a5db
commit
5188def9e5
@ -14,6 +14,7 @@ static const char* file_type(mode_t mode)
|
||||
case S_IFBLK: return "block special device";
|
||||
case S_IFLNK: return "symbolic link";
|
||||
case S_IFIFO: return "pipe";
|
||||
case S_IFSOCK: return "socket";
|
||||
default: return "unknown file type";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user