syslog.conf: *.emerg comment is confusing
Previous syslog.conf revision 1.19 changed *.emerg to be disabled by default, but forgot to change the comment to tell to uncomment the line to enable *.emerg. Attached patch should fix the comment and reduce confusion. Index: src/etc/syslog.conf === RCS file: /cvs/src/etc/syslog.conf,v retrieving revision 1.19 diff -u -r1.19 syslog.conf --- src/etc/syslog.conf 26 Nov 2015 15:25:14 - 1.19 +++ src/etc/syslog.conf 31 May 2016 06:57:08 - @@ -20,7 +20,7 @@ # as well as all authentication messages sent to root. #*.notice;auth.debug root -# Everyone gets emergency messages. +# Uncomment to have everyone get emergency messages. #*.emerg * # Uncomment to log to a central host named "loghost". You need to run
faq6.html: Fix typo uaw -> use
This typo was introduced in revision 1.346. Index: www/faq/faq6.html === RCS file: /cvs/www/faq/faq6.html,v retrieving revision 1.357 diff -u -r1.357 faq6.html --- www/faq/faq6.html 22 Mar 2016 10:54:47 - 1.357 +++ www/faq/faq6.html 23 Mar 2016 05:50:17 - @@ -440,7 +440,7 @@ Unlike some other operating systems, OpenBSD doesn't refer to them as dc0:0, dc0:1. If you are referring to a specific aliased IP address with ifconfig, -or adding an alias, be sure to uaw ifconfig int alias instead of +or adding an alias, be sure to use ifconfig int alias instead of just ifconfig int at the command line. You can delete aliases with ifconfig int delete.
Re: getopt.3 / getopt_long.3: Remove NOTREACHED comment as per style(9)
Here's a revised patch that updates the $Mdocdate if seemed necessary. Ok? Index: getopt.3 === RCS file: /cvs/src/lib/libc/stdlib/getopt.3,v retrieving revision 1.44 diff -u -p -r1.44 getopt.3 --- getopt.321 Jan 2014 03:15:45 - 1.44 +++ getopt.34 Jan 2016 11:45:47 - @@ -27,7 +27,7 @@ .\" .\"$OpenBSD: getopt.3,v 1.44 2014/01/21 03:15:45 schwarze Exp $ .\" -.Dd $Mdocdate: January 21 2014 $ +.Dd $Mdocdate: January 4 2016 $ .Dt GETOPT 3 .Os .Sh NAME @@ -183,7 +183,6 @@ while ((ch = getopt(argc, argv, "bf:")) break; default: usage(); - /* NOTREACHED */ } } argc -= optind; Index: getopt_long.3 === RCS file: /cvs/src/lib/libc/stdlib/getopt_long.3,v retrieving revision 1.20 diff -u -p -r1.20 getopt_long.3 --- getopt_long.3 5 Jun 2013 03:39:23 - 1.20 +++ getopt_long.3 4 Jan 2016 11:45:47 - @@ -30,7 +30,7 @@ .\" .\" @(#)getopt.3 8.5 (Berkeley) 4/27/95 .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: January 4 2016 $ .Dt GETOPT_LONG 3 .Os .Sh NAME @@ -420,7 +420,6 @@ while ((ch = getopt_long(argc, argv, "bf break; default: usage(); - /* NOTREACHED */ } argc -= optind; argv += optind;
getopt.3 / getopt_long.3: Remove NOTREACHED comment as per style(9)
style(9) revision 1.61 updated the guidelines, and mentions the only lint-style comment that should be used is FALLTHROUGH. Ok? Index: getopt.3 === RCS file: /cvs/src/lib/libc/stdlib/getopt.3,v retrieving revision 1.44 diff -u -p -u -r1.44 getopt.3 --- getopt.321 Jan 2014 03:15:45 - 1.44 +++ getopt.34 Jan 2016 11:29:45 - @@ -183,7 +183,6 @@ while ((ch = getopt(argc, argv, "bf:")) break; default: usage(); - /* NOTREACHED */ } } argc -= optind; Index: getopt_long.3 === RCS file: /cvs/src/lib/libc/stdlib/getopt_long.3,v retrieving revision 1.20 diff -u -p -u -r1.20 getopt_long.3 --- getopt_long.3 5 Jun 2013 03:39:23 - 1.20 +++ getopt_long.3 4 Jan 2016 11:29:45 - @@ -420,7 +420,6 @@ while ((ch = getopt_long(argc, argv, "bf break; default: usage(); - /* NOTREACHED */ } argc -= optind; argv += optind;
Re: Make em(4) more mpsafe again
> /* > - * These parameters control when the driver calls the routine to reclaim > - * transmit descriptors. > + * Thise parameter controls the minimum number of available transmit > + * descriptors needed before we attempt transmission of a packet. > */ There seems to be a typo in there. s/Thise/This/.