about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-16 02:31:25 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-16 02:34:15 -0500
commit3f2c97261b487a95c94a9544023fb7c0a696b4a9 (patch)
treebedd2f7f7ce414b9cbb000b20d1a39818518faa0
parent019bf21ca710faaf3fd365c8bb61e1607610057d (diff)
downloadglibc-3f2c97261b487a95c94a9544023fb7c0a696b4a9.tar.gz
glibc-3f2c97261b487a95c94a9544023fb7c0a696b4a9.tar.xz
glibc-3f2c97261b487a95c94a9544023fb7c0a696b4a9.zip
sparc: mman.h: fix bad comment insertion
The MCL_ONFAULT define was inserted into the middle of a comment which
breaks the build.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/sparc/bits/mman.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d85e92c0ce..caf588b3d1 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 b5bfc66615..bc5ccac69e 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>