Touch up some more small typos missed in the previous round.
Reported by: Ben Kaduk <minimarmot@gmail.com> et al.
This commit is contained in:
parent
b5c7b0dfe9
commit
2b302aad9f
@ -219,15 +219,15 @@ tolower_word(word)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Read integer from mmap pointer.
|
* Read integer from mmap pointer.
|
||||||
* Essential a simple ``return *(int *)p'' but avoid sigbus
|
* Essentially a simple ``return *(int *)p'' but avoids sigbus
|
||||||
* for integer alignment (SunOS 4.x, 5.x).
|
* for integer alignment (SunOS 4.x, 5.x).
|
||||||
*
|
*
|
||||||
* Convert network byte order to host byte order if necessary.
|
* Convert network byte order to host byte order if necessary.
|
||||||
* So we can read on FreeBSD/i386 (little endian) a locate database
|
* So we can read a locate database on FreeBSD/i386 (little endian)
|
||||||
* which was built on SunOS/sparc (big endian).
|
* which was built on SunOS/sparc (big endian).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
getwm(p)
|
getwm(p)
|
||||||
caddr_t p;
|
caddr_t p;
|
||||||
{
|
{
|
||||||
|
@ -259,7 +259,7 @@ Usage: %s [-dEiInv] [-s subject] [-c cc-addr] [-b bcc-addr] [-F] to-addr ...\n\
|
|||||||
if (ef == NULL)
|
if (ef == NULL)
|
||||||
ef = "%";
|
ef = "%";
|
||||||
if (setfile(ef) <= 0)
|
if (setfile(ef) <= 0)
|
||||||
/* Either an error has occurted, or no mail */
|
/* Either an error has occurred, or no mail */
|
||||||
exit(1);
|
exit(1);
|
||||||
else
|
else
|
||||||
exit(0);
|
exit(0);
|
||||||
|
@ -550,7 +550,7 @@ newname:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Count the occurrances of c in str
|
* Count the occurrences of c in str
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
charcount(char *str, int c)
|
charcount(char *str, int c)
|
||||||
|
@ -334,7 +334,7 @@ server_accept_client(server_p srv, int32_t fd)
|
|||||||
* The minimum L2CAP MTU is 43 bytes. That means we need
|
* The minimum L2CAP MTU is 43 bytes. That means we need
|
||||||
* 65536 / 43 = ~1524 chunks to transfer maximum packet
|
* 65536 / 43 = ~1524 chunks to transfer maximum packet
|
||||||
* size with minimum MTU. The "rsp_cs" field in fd_idx_t
|
* size with minimum MTU. The "rsp_cs" field in fd_idx_t
|
||||||
* is 11 bit wide that gives us up to 2048 chunks.
|
* is 11 bits wide, which gives us up to 2048 chunks.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (omtu < NG_L2CAP_MTU_MINIMUM) {
|
if (omtu < NG_L2CAP_MTU_MINIMUM) {
|
||||||
|
@ -123,7 +123,7 @@ find_plist_option(Package *pkg, const char *name)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Delete plist item 'type' in the list (if 'name' is non-null, match it
|
* Delete plist item 'type' in the list (if 'name' is non-null, match it
|
||||||
* too.) If 'all' is set, delete all items, not just the first occurrance.
|
* too.) If 'all' is set, delete all items, not just the first occurrence.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
delete_plist(Package *pkg, Boolean all, plist_t type, const char *name)
|
delete_plist(Package *pkg, Boolean all, plist_t type, const char *name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user