about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@systemhalted.org>2015-10-07 14:10:43 -0400
committerCarlos O'Donell <carlos@systemhalted.org>2015-10-07 14:10:43 -0400
commitb86b4f5ef2fd801b1269938747a438838f1545c1 (patch)
tree49cb2f7b6d1457a457ce0839aca3858f2b74bdfc
parent119d073e334e9889a3fd904b333cd13d8217bc58 (diff)
downloadglibc-b86b4f5ef2fd801b1269938747a438838f1545c1.tar.gz
glibc-b86b4f5ef2fd801b1269938747a438838f1545c1.tar.xz
glibc-b86b4f5ef2fd801b1269938747a438838f1545c1.zip
Fix manual argument order for posix_fallocate64 (Bug 19086).
The argument order for posix_fallocate64 in the manual
was wrong, it was listed as [fd, len, offset] when it
should have been [fd, offset, len].

Verified io/fcntl.h has the right argument order, and it
does. Verified generated PDF.
-rw-r--r--ChangeLog6
-rw-r--r--manual/filesys.texi2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1f461c3392..db2764242e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-10-07  Carlos O'Donell  <carlos@redhat.com>
+
+	[BZ #19086]
+	* manual/filesys.texi (Storage Allocation): Fix argument order for
+	posix_fallocate64.
+
 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
 
 	[BZ #19085]
diff --git a/manual/filesys.texi b/manual/filesys.texi
index 40648853bd..972e1065be 100644
--- a/manual/filesys.texi
+++ b/manual/filesys.texi
@@ -3323,7 +3323,7 @@ allocation.  Instead, an @code{EOPNOTSUPP} is returned to the caller.
 
 @end deftypefun
 
-@deftypefun int posix_fallocate64 (int @var{fd}, off64_t @var{length}, off64_t @var{offset})
+@deftypefun int posix_fallocate64 (int @var{fd}, off64_t @var{offset}, off64_t @var{length})
 @safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
 
 This function is a variant of @code{posix_fallocate64} which accepts