From 86e323da6be1f6af339820fb91e777b4f610b0b0 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 22 Jun 2010 16:35:48 +0000 Subject: [PATCH] correct to S_IFSOCK --- include/sys/stat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.44.0