Re: [PATCH] minor typo fixes in several pages
From: Michael Kerrisk (man-pages) <hidden>
Date: 2013-08-01 09:40:43
Possibly related (same subject, not in this thread)
- 2013-07-30 · Re: [PATCH] minor typo fixes in several pages · Simon Paillard <hidden>
- 2013-07-30 · [PATCH] minor typo fixes in several pages · Akihiro MOTOKI <hidden>
On 07/30/13 22:34, Akihiro MOTOKI wrote:
I found typos in several pages from LDP man-pages 3.52. _syscall.2
Was already fixed.
popen.3
Applied.
tempnam.3
Applied.
bootparam.7
Was already fixed.
socket.7
Applied.
Is it better to split a patch per page?
Generally, yes. Thanks for the patches. Cheers, Michael
quoted hunk
diff --git a/manual/LDP_man-pages/original/man2/_syscall.2b/manual/LDP_man-pages/original/man2/_syscall.2 index 9a79108..c29ca55 100644--- a/manual/LDP_man-pages/original/man2/_syscall.2 +++ b/manual/LDP_man-pages/original/man2/_syscall.2@@ -105,7 +105,7 @@ System calls are not required to return onlypositive or negative error codes. You need to read the source to be sure how it will return errors. Usually, it is the negative of a standard error code, -for example, i +for example, .RI \- EPERM . The _syscall() macros will return the result .I rdiff --git a/manual/LDP_man-pages/original/man3/popen.3b/manual/LDP_man-pages/original/man3/popen.3 index 7d669f4..f7a8afe 100644--- a/manual/LDP_man-pages/original/man3/popen.3 +++ b/manual/LDP_man-pages/original/man3/popen.3@@ -141,7 +141,7 @@ function returns \-1 if .BR wait4 (2) returns an error, or some other error is detected. In the event of an error, these functions set -.I errnro +.I errno to indicate the cause of the error. .SH ERRORS Thediff --git a/manual/LDP_man-pages/original/man3/tempnam.3b/manual/LDP_man-pages/original/man3/tempnam.3 index 9b54943..e183257 100644--- a/manual/LDP_man-pages/original/man3/tempnam.3 +++ b/manual/LDP_man-pages/original/man3/tempnam.3@@ -85,7 +85,7 @@ is allocated using and hence should be freed by .BR free (3). .SH RETURN VALUE -On succes, the +On success, the .BR tempnam () function returns a pointer to a unique temporary filename. It returns NULL if a unique name cannot be generated, withdiff --git a/manual/LDP_man-pages/original/man7/bootparam.7b/manual/LDP_man-pages/original/man7/bootparam.7 index ecfd3c5..440fad5 100644--- a/manual/LDP_man-pages/original/man7/bootparam.7 +++ b/manual/LDP_man-pages/original/man7/bootparam.7@@ -466,7 +466,7 @@ a "normal" ramdisk, which is mounted read-write asroot device; then .I /linuxrc is executed; afterward the "real" root file system is mounted, -and the initrd file system is moved over tocw +and the initrd file system is moved over to .IR /initrd ; finally the usual boot sequence (e.g., invocation ofdiff --git a/manual/LDP_man-pages/original/man7/socket.7b/manual/LDP_man-pages/original/man7/socket.7 index f2213eb..3bf4c55 100644--- a/manual/LDP_man-pages/original/man7/socket.7 +++ b/manual/LDP_man-pages/original/man7/socket.7@@ -456,7 +456,7 @@ then the next peek at data queued in the socketwill occur at the byte offset specified by the option value. At the same time, the "peek offset" will be incremented by the number of bytes that were peeked from the queue, -so that a subsequent peek will return the next data in the queue.i +so that a subsequent peek will return the next data in the queue. If data is removed from the front of the queue via a call to .BR recv (2)
-- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html