This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] sparc: mman.h: fix bad comment insertion [committed]


The MCL_ONFAULT define was inserted into the middle of a comment which
breaks the build.
---
 ChangeLog                                 | 5 +++++
 sysdeps/unix/sysv/linux/sparc/bits/mman.h | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index d85e92c..caf588b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-01-16  Mike Frysinger  <vapier@gentoo.org>
+
+	* sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
+	outside of comment.
+
 2016-01-15  Torvald Riegel  <triegel@redhat.com>
 
 	* nptl/tst-barrier1.c: Add description on first line.
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/mman.h b/sysdeps/unix/sysv/linux/sparc/bits/mman.h
index b5bfc66..bc5ccac 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/mman.h
@@ -41,9 +41,9 @@
 /* Flags for `mlockall'.  */
 #define MCL_CURRENT	0x2000		/* Lock all currently mapped pages.  */
 #define MCL_FUTURE	0x4000		/* Lock all additions to address
+					   space.  */
 #define MCL_ONFAULT	0x8000		/* Lock all pages that are
 					   faulted in.  */
-					   space.  */
 /* Include generic Linux declarations.  */
 #include <bits/mman-linux.h>
 
-- 
2.6.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]