Blame SOURCES/1673142-mpo-8.2.0.0-copy_file_range.2.patch

1ecdca
From 077bf992f0deb7d9bb17568726be33ca4209e89c Mon Sep 17 00:00:00 2001
1ecdca
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
1ecdca
Date: Fri, 13 Dec 2019 14:21:57 +0100
1ecdca
Subject: [PATCH] copy_file_range.2: update ERRORS
1ecdca
1ecdca
---
1ecdca
 man-pages/man2/copy_file_range.2 | 9 +++++++--
1ecdca
 1 file changed, 7 insertions(+), 2 deletions(-)
1ecdca
1ecdca
diff --git a/man-pages/man2/copy_file_range.2 b/man-pages/man2/copy_file_range.2
1ecdca
index 35c0967..f25ea95 100644
1ecdca
--- a/man-pages/man2/copy_file_range.2
1ecdca
+++ b/man-pages/man2/copy_file_range.2
1ecdca
@@ -78,7 +78,7 @@ is adjusted appropriately.
1ecdca
 The
1ecdca
 .I flags
1ecdca
 argument is provided to allow for future extensions
1ecdca
-and currently must be to 0.
1ecdca
+and currently must be set to 0.
1ecdca
 .SH RETURN VALUE
1ecdca
 Upon successful completion,
1ecdca
 .BR copy_file_range ()
1ecdca
@@ -109,7 +109,11 @@ maximum file size or the process's file size limit,
1ecdca
 or to write at a position past the maximum allowed offset.
1ecdca
 .TP
1ecdca
 .B EINVAL
1ecdca
-Requested range extends beyond the end of the source file; or the
1ecdca
+Requested range extends beyond the end of the source file; or either
1ecdca
+.I fd_in
1ecdca
+or
1ecdca
+.I fd_out
1ecdca
+is not a regular file; or the
1ecdca
 .I flags
1ecdca
 argument is not 0.
1ecdca
 .TP
1ecdca
@@ -117,6 +121,7 @@ argument is not 0.
1ecdca
 A low-level I/O error occurred while copying.
1ecdca
 .TP
1ecdca
 .B EISDIR
1ecdca
+Either
1ecdca
 .I fd_in
1ecdca
 or
1ecdca
 .I fd_out
1ecdca
-- 
1ecdca
2.21.0
1ecdca