correct to S_IFSOCK
This commit is contained in:
parent
81056ac999
commit
86e323da6b
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ struct stat {
|
|||
#define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) /* is a block spec */
|
||||
#define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* is a symlink */
|
||||
#define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* is a pipe/FIFO */
|
||||
#define S_ISSOCK(m) (((m) & S_IFMT) == S_ISOCK) /* is a socket */
|
||||
#define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) /* is a socket */
|
||||
|
||||
#define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
|
||||
|
||||
|
|
Loading…
Reference in a new issue