I'm very pleased to announce the release of our new website and documentation using the new toolchain with Hugo and AsciiDoctor. To get more information about the new toolchain please read the FreeBSD Documentation Project Primer[1], Hugo docs[2] and AsciiDoctor docs[3]. Acknowledgment: Benedict Reuschling <bcr@> Glen Barber <gjb@> Hiroki Sato <hrs@> Li-Wen Hsu <lwhsu@> Sean Chittenden <seanc@> The FreeBSD Foundation [1] https://docs.FreeBSD.org/en/books/fdp-primer/ [2] https://gohugo.io/documentation/ [3] https://docs.asciidoctor.org/home/ Approved by: doceng, core
13 lines
474 B
Diff
13 lines
474 B
Diff
Index: usr.sbin/mountd/mountd.c
|
|
===================================================================
|
|
--- usr.sbin/mountd/mountd.c 20 Dec 2010 09:28:28 -0000 1.107
|
|
+++ usr.sbin/mountd/mountd.c 1 Mar 2011 11:47:16 -0000 1.108
|
|
@@ -2875,7 +2875,7 @@ makemask(struct sockaddr_storage *ssp, i
|
|
|
|
for (i = 0; i < len; i++) {
|
|
bits = (bitlen > CHAR_BIT) ? CHAR_BIT : bitlen;
|
|
- *p++ = (1 << bits) - 1;
|
|
+ *p++ = (u_char)~0 << (CHAR_BIT - bits);
|
|
bitlen -= bits;
|
|
}
|
|
return 0;
|