summaryrefslogtreecommitdiff
path: root/os/windows/posix/include/sys
diff options
context:
space:
mode:
authorBruce Cran <bcran@fusionio.com>2014-04-14 18:33:22 -0600
committerJens Axboe <axboe@fb.com>2014-04-14 20:19:54 -0600
commitfb73340c52bcab712dfb175dafbcb5156abdda12 (patch)
tree3407fb2322714e1308665c6be02fa25787f54bc5 /os/windows/posix/include/sys
parent7d8ea97047830947ae9a06c0925ecc8ae1d362bd (diff)
downloadfio-fb73340c52bcab712dfb175dafbcb5156abdda12.tar.gz
fio-fb73340c52bcab712dfb175dafbcb5156abdda12.tar.bz2
Windows: set sizeof(sun_path) to 260 (MAX_PATH).
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'os/windows/posix/include/sys')
-rw-r--r--os/windows/posix/include/sys/un.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/windows/posix/include/sys/un.h b/os/windows/posix/include/sys/un.h
index b9ea6301..e418c6dd 100644
--- a/os/windows/posix/include/sys/un.h
+++ b/os/windows/posix/include/sys/un.h
@@ -7,7 +7,7 @@ typedef int in_port_t;
struct sockaddr_un
{
sa_family_t sun_family; /* Address family */
- char sun_path[]; /* Socket pathname */
+ char sun_path[260]; /* Socket pathname */
};
#endif /* SYS_UN_H */