correct to S_IFSOCK

This commit is contained in:
Ben Gras 2010-06-22 16:35:48 +00:00
parent 81056ac999
commit 86e323da6b

View file

@ -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)