diff --git a/apps/stat.cpp b/apps/stat.cpp index 0aa9478b..18dc2728 100644 --- a/apps/stat.cpp +++ b/apps/stat.cpp @@ -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"; } }