From: Ben Gras Date: Tue, 22 Jun 2010 16:35:48 +0000 (+0000) Subject: correct to S_IFSOCK X-Git-Tag: v3.1.8~394 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/FAQ?a=commitdiff_plain;h=86e323da6be1f6af339820fb91e777b4f610b0b0;p=minix.git correct to S_IFSOCK --- diff --git a/include/sys/stat.h b/include/sys/stat.h index 739ce4792..e67580b46 100644 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -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)