Skip to contentSkip to conversation

small improvement for kexec_load.2 and getutent.3

PATCH Yuri Kozlov 2 participants 2 messages Nov 2, 2010 – Nov 4, 2010 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

Hello.

Signature · 2 lines
Best Regards,
Yuri Kozlov
man3/getutent.3 +1 -1
@@ -209,7 +209,7 @@
 .sp
 .nf
 .BR "#define _GNU_SOURCE" "    /* or _SVID_SOURCE or _BSD_SOURCE;
-.R "\&                          see feature_test_macros(7) */
+.BR "\&                          see feature_test_macros(7) */
 .B #include <utmp.h>
 .sp
 .BI "int getutent_r(struct utmp *" ubuf ", struct utmp **" ubufp );
man2/kexec_load.2 +1 -1
@@ -25,7 +25,7 @@
 .SH NAME
 kexec_load \- load a new kernel for later execution
 .SH SYNOPSIS
-.b #include <linux/kexec.h>
+.B #include <linux/kexec.h>
 .br
 .BI "long kexec_load(unsigned long " entry ", unsigned long " nr_segments ","
 .br

A message that is not in the archive (sent off-list or not yet received): 20101102151043.220797e6-CpVCSV+zb/Ftei/ch0jEm2ZHpeb/A1Y/@public.gmane.org

#2 lore raw

Hello Yuri,

Quoted 1 line · Yuri Kozlov

Hello.

(Inline patches are usually easier for me.)

By chance, Denis Barbier (later) reported the same error in kexec_load.2, and I happened to apply his patch first.

For getutent.3, the formatting as given was deliberate, but could be improved. I applied a slightly different patch for 3.31.

Thanks for these reports.

Thanks,

Michael

man3/getutent.3 +1 -1
@@ -209,7 +209,7 @@ Glibc adds reentrant versions
 .sp
 .nf
 .BR "#define _GNU_SOURCE" "    /* or _SVID_SOURCE or _BSD_SOURCE;
-.R "\&                          see feature_test_macros(7) */
+.RB "\&                          see " feature_test_macros(7) " */"
 .B #include <utmp.h>
 .sp
 .BI "int getutent_r(struct utmp *" ubuf ", struct utmp **" ubufp );
Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html