blob: a707bcc71c2bc507cb545fe63773a65dd400a0cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
Description: usr/src/uts/common/fs/fd/fdops.c
253 while (uiop->uio_resid > 0) {
254 if ((off = uiop->uio_offset) == 0) { /* "." */
255 dirent->d_ino = (ino64_t)FDROOTINO;
256 dirent->d_name[0] = '.';
257 dirent->d_name[1] = '\0';
258 reclen = DIRENT64_RECLEN(1);
259 } else if (off == FDSDSIZE) { /* ".." */
260 dirent->d_ino = (ino64_t)FDROOTINO;
261 dirent->d_name[0] = '.';
262 dirent->d_name[1] = '.';
263 dirent->d_name[2] = '\0';
264 reclen = DIRENT64_RECLEN(2);
Index: b/usr/src/uts/intel/fdfs/Makefile
===================================================================
--- a/usr/src/uts/intel/fdfs/Makefile 2014-03-01 22:52:10.826047799 +0400
+++ b/usr/src/uts/intel/fdfs/Makefile 2014-03-01 22:55:04.281633248 +0400
@@ -58,6 +58,8 @@
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
+CERRWARN += -_gcc=-Wno-array-bounds
+
#
# Default build targets.
#
|