Spelling fixes for usr.sbin/

This commit is contained in:
Ulrich Spörlein 2011-12-30 10:58:14 +00:00
parent 719728bf11
commit 3df5ecac8c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228990
113 changed files with 210 additions and 219 deletions

View file

@ -136,7 +136,7 @@ sap_input(from, size)
* The idea here is that if the hop count is more
* than INFINITY it is bogus and should be discarded.
* If it is equal to INFINITY it is a message to say
* that a service went down. If we don't allready
* that a service went down. If we don't already
* have it in our tables discard it. Otherwise
* update our table and set the timer to EXPIRE_TIME
* so that it is removed next time we go through the

View file

@ -178,7 +178,7 @@ sap_add(struct sap_info *si, struct sockaddr *from)
/*
* Change an existing SAP entry. If a clone exist for the old one,
* check if it is cheaper. If it is change tothe clone, otherwise
* check if it is cheaper. If it is change to the clone, otherwise
* delete all the clones.
*/
void

View file

@ -894,7 +894,7 @@ if [ "$procowner" != "0" ]; then
exit 1
fi
# Overide from our conf file
# Override from our conf file
# Quickly go through the commandline line to see if we should read
# from our configuration file. The actual parsing of the commandline
# arguments happens after we read in our configuration file (commandline
@ -914,7 +914,7 @@ if [ -n "$readconfig" ]; then
fi
fi
# Proccess command-line options
# Process command-line options
#
for _switch ; do
case $_switch in

View file

@ -40,7 +40,7 @@
#define EV_READ 0x02
#define EV_WRITE 0x04
#define EV_PERSIST 0x10 /* Persistant event */
#define EV_PERSIST 0x10 /* Persistent event */
#define EV_PENDING (1 << 13) /* internal use only! */
#define EV_HAS_TIMEOUT (1 << 14) /* internal use only! */
#define EV_CURRENT (1 << 15) /* internal use only! */

View file

@ -334,7 +334,7 @@ server_accept_client(server_p srv, int32_t fd)
* The minimum L2CAP MTU is 43 bytes. That means we need
* 65536 / 43 = ~1524 chunks to transfer maximum packet
* size with minimum MTU. The "rsp_cs" field in fd_idx_t
* is 11 bit wide that gives us upto 2048 chunks.
* is 11 bit wide that gives us up to 2048 chunks.
*/
if (omtu < NG_L2CAP_MTU_MINIMUM) {

View file

@ -19,7 +19,7 @@ RPC.BOOTPARAMD
The rpc.bootparamd program does NOT use the yellow pages for the bootparams
database. This data should recide in /etc/bootparams on the local host,
database. This data should reside in /etc/bootparams on the local host,
or another file given when the server is started.
The default router is set to the address of the machine running the server.
@ -59,17 +59,3 @@ Cache the date, instead of rereading it.
Maybe match by comparing the inet address instead. (But beware that caching
will prevent the server from detecting that a machine has changed name
or address.)

View file

@ -108,7 +108,7 @@ bridge_compare_macs(const uint8_t *m1, const uint8_t *m2)
/*
* Insert an address entry in the bridge address TAILQ starting to search
* for its place from the position of the first bridge address for the bridge
* interface. Update the first bridge address if neccessary.
* interface. Update the first bridge address if necessary.
*/
static void
bridge_addrs_insert_at(struct tp_entries *headp,
@ -136,7 +136,7 @@ bridge_addrs_insert_at(struct tp_entries *headp,
}
/*
* Find an address entry's possition in the address list
* Find an address entry's position in the address list
* according to bridge interface name.
*/
static struct tp_entry *

View file

@ -378,7 +378,7 @@ bridge_get_time_since_tc(struct bridge_if *bif, uint32_t *ticks)
* Return:
* 1, if successful
* 0, if the interface was deleted
* -1, error occured while fetching the info from the kernel.
* -1, error occurred while fetching the info from the kernel.
*/
static int
bridge_update_bif(struct bridge_if *bif)

View file

@ -87,7 +87,7 @@ bridge_port_memif_free(struct bridge_ports *headp,
/*
* Insert a port entry in the base port TAILQ starting to search
* for its place from the position of the first bridge port for the bridge
* interface. Update the first bridge port if neccessary.
* interface. Update the first bridge port if necessary.
*/
static void
bridge_port_insert_at(struct bridge_ports *headp,
@ -119,7 +119,7 @@ bridge_port_insert_at(struct bridge_ports *headp,
}
/*
* Find a port entry's possition in the ports list according
* Find a port entry's position in the ports list according
* to it's parent bridge interface name. Returns a NULL if
* we should be at the TAILQ head, otherwise the entry after
* which we should be inserted.

View file

@ -1167,7 +1167,7 @@ bridge_port_find_ifstplist(uint8_t port_no, struct ifbpstpreq *buf,
/*
* Read the initial info for all members of a bridge interface.
* Returns the number of ports, 0 - if none, otherwise
* -1 if some other error occured.
* -1 if some other error occurred.
*/
int
bridge_getinfo_bif_ports(struct bridge_if *bif)
@ -1358,7 +1358,7 @@ bridge_addrs_getinfo_ifalist(struct bridge_if *bif, struct ifbareq **buf)
/*
* Read the initial info for all addresses on a bridge interface.
* Returns the number of addresses, 0 - if none, otherwise
* -1 if some other error occured.
* -1 if some other error occurred.
*/
int
bridge_getinfo_bif_addrs(struct bridge_if *bif)

View file

@ -200,7 +200,7 @@ device_entry_create(const char *name, const char *location, const char *descr)
/*
* From here till the end of this function we reuse name_len
* for a diferrent purpose - for device_entry::descr
* for a different purpose - for device_entry::descr
*/
if (name[0] != '\0')
name_len = strlen(name) + strlen(descr) +

View file

@ -170,8 +170,8 @@ OS_getSystemDate(struct snmp_value *value)
/**
* Get kernel boot path. For FreeBSD it seems that no arguments are
* present. Returns NULL if an error occured. The returned data is a
* pointer to a global strorage.
* present. Returns NULL if an error occurred. The returned data is a
* pointer to a global storage.
*/
int
OS_getSystemInitialLoadParameters(u_char **params)

View file

@ -218,7 +218,7 @@ void fs_tbl_process_statfs_entry(const struct statfs *, int32_t);
/* Called after refreshing fs part of hrStorageTable */
void fs_tbl_post_refresh(void);
/* Refresh the FS table if neccessary. */
/* Refresh the FS table if necessary. */
void refresh_fs_tbl(void);
/* Finalization routine for hrFSTable. */

View file

@ -133,7 +133,7 @@ static const struct asn_oid OIDX_hrStorageVirtualMemory_c =
OIDX_hrStorageVirtualMemory;
/**
* Create a new entry into the storage table and, if neccessary, an
* Create a new entry into the storage table and, if necessary, an
* entry into the storage map.
*/
static struct storage_entry *

View file

@ -82,8 +82,8 @@ WlanMgmtReasonCode ::= TEXTUAL-CONVENTION
associationLeave(8),
associationNotAuthenticated(9),
-- XXX: TODO - FIXME
dissasocPwrcapBad(10),
dissasocSuperchanBad(11),
disassocPwrcapBad(10),
disassocSuperchanBad(11),
ieInvalid(13),
micFailure(14),
fourWayHandshakeTimeout(15),
@ -579,10 +579,10 @@ wlanIfaceCountryCode OBJECT-TYPE
interface is operating include all environments in the specified
country.
2. an ASCII 'O' character, if the country's regulastions are for
2. an ASCII 'O' character, if the country's regulations are for
Outdoor environment only.
3. an ASCII 'I' character, if the country's regulastions are for
3. an ASCII 'I' character, if the country's regulations are for
Indoor environment only."
::= { wlanIfaceConfigEntry 2 }
@ -634,7 +634,7 @@ wlanIfaceFastFrames OBJECT-TYPE
DESCRIPTION
"The value of this object controls whether use of Atheros Fast
Frames is enabled when when communicating with another Fast
Frames-capable station. The value is only meaningfull for
Frames-capable station. The value is only meaningful for
interfaces that support Atheros Fast Frames."
::= { wlanIfaceConfigEntry 7 }
@ -645,7 +645,7 @@ wlanIfaceDturbo OBJECT-TYPE
DESCRIPTION
"The value of this object controls whether use of Atheros Dynamic
Turbo mode is enabled when when communicating with another Dynamic
Turbo-capable station. The value is only meaningfull for interfaces
Turbo-capable station. The value is only meaningful for interfaces
that support Atheros Dynamic Turbo mode."
::= { wlanIfaceConfigEntry 8 }
@ -731,7 +731,7 @@ wlanIfaceBeaconMissedThreshold OBJECT-TYPE
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The value of this object specifies the number of consequtive missed
"The value of this object specifies the number of consecutive missed
beacons before an interface operating in station mode will attempt
to search for a new access point."
DEFVAL { 7 }
@ -788,7 +788,7 @@ wlanIfaceDynamicWds OBJECT-TYPE
STATUS current
DESCRIPTION
"The value of this object specifies whether Dynamic WDS (DWDS)
support is enabled. The value is only meaningfull for interfaces
support is enabled. The value is only meaningful for interfaces
that support Dynamic WDS."
::= { wlanIfaceConfigEntry 21 }
@ -798,7 +798,7 @@ wlanIfacePowerSave OBJECT-TYPE
STATUS current
DESCRIPTION
"The value of this object specifies whether powersave operation
is enabled. The value is only meaningfull for interfaces that
is enabled. The value is only meaningful for interfaces that
support powersave operation."
::= { wlanIfaceConfigEntry 22 }
@ -809,7 +809,7 @@ wlanIfaceApBridge OBJECT-TYPE
DESCRIPTION
"The value of this object specifies whether packets between
wireless clients will be passed directly by an interface
operating in host ap mode. Disabling it may be usefull in
operating in host ap mode. Disabling it may be useful in
situations when traffic between wireless clients needs to be
processed with packet filtering."
DEFVAL { true }
@ -1308,7 +1308,7 @@ wlanIfaceChannelFrequency OBJECT-TYPE
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The channel frequency setting in Mhz."
"The channel frequency setting in MHz."
::= { wlanIfaceChannelEntry 5 }
wlanIfaceChannelMaxRegPower OBJECT-TYPE
@ -2741,7 +2741,7 @@ wlanStatsDwdsMcastDiscard OBJECT-TYPE
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of multicast over DWDS frames discared by this interface."
"The number of multicast over DWDS frames discarded by this interface."
::= { wlanIfaceStatisticsEntry 98 }
wlanStatsHTAssocRejectNoHT OBJECT-TYPE
@ -2759,7 +2759,7 @@ wlanStatsHTAssocDowngrade OBJECT-TYPE
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of times HT was dissallowed for an association on
"The number of times HT was disallowed for an association on
this interface due to WEP or TKIP requested."
::= { wlanIfaceStatisticsEntry 100 }
@ -2769,7 +2769,7 @@ wlanStatsHTAssocRateMismatch OBJECT-TYPE
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of times rate mismatch occured furing HT rate set
"The number of times rate mismatch occurred during HT rate set
handling on this interface."
::= { wlanIfaceStatisticsEntry 101 }
@ -2787,7 +2787,7 @@ wlanStatsAMPDUMoved OBJECT-TYPE
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of time A-MPDU MSDU moved window occured for this
"The number of time A-MPDU MSDU moved window occurred for this
interface."
::= { wlanIfaceStatisticsEntry 103 }
@ -2807,7 +2807,7 @@ wlanStatsADDBANoRequest OBJECT-TYPE
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of received ADDBA responces frames that were discarded
"The number of received ADDBA responses frames that were discarded
by this interface due to no pending ADDBA."
::= { wlanIfaceStatisticsEntry 105 }
@ -2817,7 +2817,7 @@ wlanStatsADDBABadToken OBJECT-TYPE
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of received ADDBA responce frames that were discarded
"The number of received ADDBA response frames that were discarded
by this interface since ADDBA response caused dialogtoken mismatch."
::= { wlanIfaceStatisticsEntry 106 }
@ -2827,7 +2827,7 @@ wlanStatsADDBABadPolicy OBJECT-TYPE
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of received ADDBA responce frames that were discarded
"The number of received ADDBA response frames that were discarded
by this interface since ADDBA response caused policy mismatch."
::= { wlanIfaceStatisticsEntry 107 }
@ -2877,7 +2877,7 @@ wlanLastDissasocReason OBJECT-TYPE
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The last received dissasociate reason on this interface."
"The last received disassociate reason on this interface."
::= { wlanIfaceStatisticsEntry 113 }
wlanLastAuthFailReason OBJECT-TYPE
@ -2942,7 +2942,7 @@ wlanStatsAMPDURexmtFailed OBJECT-TYPE
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of A-MPDU frames for which retransmition failed on
"The number of A-MPDU frames for which retransmission failed on
this interface."
::= { wlanIfaceStatisticsEntry 120 }
@ -3696,7 +3696,7 @@ wlanMeshDroppedMisaligned OBJECT-TYPE
STATUS current
DESCRIPTION
"The number of frames that were dropped by this interface due to
bad alighment."
bad alignment."
::= { wlanMeshStatsEntry 11 }
-- ---------------------------------------------------------- --

View file

@ -75,8 +75,8 @@ typedef WlanMgmtReasonCode ENUM (
7 notAssociated
8 associationLeave
9 associationNotAuthenticated
10 dissasocPwrcapBad
11 dissasocSuperchanBad
10 disassocPwrcapBad
11 disassocSuperchanBad
13 ieInvalid
14 micFailure
15 fourWayHandshakeTimeout

View file

@ -102,7 +102,7 @@
and
.Nm bsnmpset
are simple tools for retrieving management information from and setting
management information to a Simple Network Managment Protocol (SNMP) agent.
management information to a Simple Network Management Protocol (SNMP) agent.
.Pp
Depending on the options
.Nm bsnmpget
@ -119,7 +119,7 @@ rooted at the provided OIDs.
.Nm Bsnmpset
constructs a SMNP SetRequest packet, fills in the OIDs (object identifiers),
syntaxes and values of the objects whose values are to be set and waits for a
responce from server.
response from server.
.Sh OPTIONS
.Pp
The options are as follows (not all apply to all three programs):
@ -165,7 +165,7 @@ terminal.
Retry on error.
If an error is returned in the response PDU, resend the request removing the
variable that caused the error until a valid response is received.
This is only usefull for a GetRequest- and a GetNextRequest-PDU.
This is only useful for a GetRequest- and a GetNextRequest-PDU.
.It Fl h
Print a short help text with default values for various options.
.It Fl I Ar options

View file

@ -248,9 +248,9 @@ snmptool_parse_options(struct snmp_toolinfo *snmptoolctx, int argc, char **argv)
/*
* Read user input OID - one of following formats:
* 1) 1.2.1.1.2.1.0 - that is if option numeric was giveni;
* 1) 1.2.1.1.2.1.0 - that is if option numeric was given;
* 2) string - in such case append .0 to the asn_oid subs;
* 3) string.1 - no additional proccessing required in such case.
* 3) string.1 - no additional processing required in such case.
*/
static char *
snmptools_parse_stroid(struct snmp_toolinfo *snmptoolctx,
@ -458,7 +458,7 @@ static int
snmptool_walk(struct snmp_toolinfo *snmptoolctx)
{
struct snmp_pdu req, resp;
struct asn_oid root; /* Keep the inital oid. */
struct asn_oid root; /* Keep the initial oid. */
int32_t outputs, rc;
snmp_pdu_create(&req, SNMP_PDU_GETNEXT);
@ -1105,13 +1105,13 @@ snmptool_set(struct snmp_toolinfo *snmptoolctx)
*/
/*
* According to command line options prepare SNMP Get | GetNext | GetBulk PDU.
* Wait for a responce and print it.
* Wait for a response and print it.
*/
/*
* Do a 'snmp walk' - according to command line options request for values
* lexicographically subsequent and subrooted at a common node. Send a GetNext
* PDU requesting the value for each next variable and print the responce. Stop
* when a Responce PDU is received that contains the value of a variable not
* PDU requesting the value for each next variable and print the response. Stop
* when a Response PDU is received that contains the value of a variable not
* subrooted at the variable the walk started.
*/
int

View file

@ -87,7 +87,7 @@ static const struct {
{ "General error", SNMP_ERR_GENERR },
{ "No access", SNMP_ERR_NO_ACCESS },
{ "Wrong type", SNMP_ERR_WRONG_TYPE },
{ "Wrong lenght", SNMP_ERR_WRONG_LENGTH },
{ "Wrong length", SNMP_ERR_WRONG_LENGTH },
{ "Wrong encoding", SNMP_ERR_WRONG_ENCODING },
{ "Wrong value", SNMP_ERR_WRONG_VALUE },
{ "No creation", SNMP_ERR_NO_CREATION },
@ -227,12 +227,12 @@ snmp_import_all(struct snmp_toolinfo *snmptoolctx)
}
/*
* Add a filename to the file list - the initail idea of keeping a list with all
* Add a filename to the file list - the initial idea of keeping a list with all
* files to read OIDs from was that an application might want to have loaded in
* memory the OIDs from a single file only and when done with them read the OIDs
* from another file. This is not used yet but might be a good idea at some
* point. Size argument is number of bytes in string including trailing '\0',
* not string lenght.
* not string length.
*/
int32_t
add_filename(struct snmp_toolinfo *snmptoolctx, const char *filename,
@ -449,7 +449,7 @@ parse_ascii(char *ascii, uint8_t *binstr, size_t binlen)
uint32_t val;
char dptr[3];
/* Filter 0x at the beggining */
/* Filter 0x at the beginning */
if ((alen = strlen(ascii)) > 2 && ascii[0] == '0' && ascii[1] == 'x')
i = 2;
else
@ -468,7 +468,7 @@ parse_ascii(char *ascii, uint8_t *binstr, size_t binlen)
}
binstr[count] = (uint8_t) val;
if (++count >= binlen) {
warnx("Key %s too long - truncating to %zu octest",
warnx("Key %s too long - truncating to %zu octets",
ascii, binlen);
break;
}
@ -1523,10 +1523,10 @@ snmp_object_seterror(struct snmp_toolinfo *snmptoolctx,
}
/*
* Check a PDU received in responce to a SNMP_PDU_GET/SNMP_PDU_GETBULK request
* Check a PDU received in response to a SNMP_PDU_GET/SNMP_PDU_GETBULK request
* but don't compare syntaxes - when sending a request PDU they must be null.
* This is a (almost) complete copy of snmp_pdu_check() - with matching syntaxes
* checks and some other checks skiped.
* checks and some other checks skipped.
*/
int32_t
snmp_parse_get_resp(struct snmp_pdu *resp, struct snmp_pdu *req)
@ -1605,7 +1605,7 @@ snmp_parse_getnext_resp(struct snmp_pdu *resp, struct snmp_pdu *req)
}
/*
* Should be called to check a responce to get/getnext/getbulk.
* Should be called to check a response to get/getnext/getbulk.
*/
int32_t
snmp_parse_resp(struct snmp_pdu *resp, struct snmp_pdu *req)
@ -1624,7 +1624,7 @@ snmp_parse_resp(struct snmp_pdu *resp, struct snmp_pdu *req)
}
if (resp->error_status != SNMP_ERR_NOERROR) {
warnx("Error %d in responce", resp->error_status);
warnx("Error %d in response", resp->error_status);
return (-1);
}

View file

@ -185,14 +185,14 @@ extern struct snmp_toolinfo snmptool;
/* Definitions for some flags' bits. */
#define OUTPUT_BITS 0x00000003 /* bits 0-1 for output type */
#define NUMERIC_BIT 0x00000004 /* bit 2 for numeric oids */
#define RETRY_BIT 0x00000008 /* bit 3 for retry on error responce */
#define RETRY_BIT 0x00000008 /* bit 3 for retry on error response */
#define ERRIGNORE_BIT 0x00000010 /* bit 4 for skip sanity checking */
#define ERRIGNORE_BIT 0x00000010 /* bit 4 for skip sanity checking */
#define EDISCOVER_BIT 0x00000020 /* bit 5 for SNMP Engine Discovery */
#define LOCALKEY_BIT 0x00000040 /* bit 6 for using localized key */
/* 0x00000080 */ /* bit 7 reserverd */
/* 0x00000080 */ /* bit 7 reserved */
#define PDUTYPE_BITS 0x00000f00 /* bits 8-11 for pdu type */
/* 0x0000f000 */ /* bit 12-15 reserverd */
/* 0x0000f000 */ /* bit 12-15 reserved */
#define MAXREP_BITS 0x00ff0000 /* bits 16-23 for max-repetit. value */
#define NONREP_BITS 0xff000000 /* bits 24-31 for non-repeaters value */

View file

@ -147,7 +147,7 @@ child_process(e, u)
#ifdef USE_SIGCHLD
/* our parent is watching for our death by catching SIGCHLD. we
* do not care to watch for our children's deaths this way -- we
* use wait() explictly. so we have to disable the signal (which
* use wait() explicitly. so we have to disable the signal (which
* was inherited from the parent).
*/
(void) signal(SIGCHLD, SIG_DFL);

View file

@ -1,3 +1,6 @@
$FreeBSD$
--------
Vixie Cron Changes from V2 to V3
Paul Vixie
29-Dec-1993
@ -20,7 +23,7 @@ be reread whenever it changes.
I also added a "-e" option to crontab(1). Nine people also sent me diffs
to add this option, but I had already implemented it on my own. I actually
released an interrim version (V2.2, I think) for limited testing, and got a
released an interim version (V2.2, I think) for limited testing, and got a
chance to fix a bad security bug in the "-e" option thanks to XXX.
The daemon used to be extraordinarily sloppy in its use of file descriptors.
@ -57,7 +60,7 @@ which explains why a lot of other people complained that it wasn't using
syslog even when they configured it that way :-). Steve Simmons told me
first, though, so he gets the point.
An interrim version of the daemon tried to "stat" every file before
An interim version of the daemon tried to "stat" every file before
executing it; this turned out to be a horribly bad idea since finding the
name of a file from a shell command is a hard job (that's why we have
shells, right?) I removed this bogus code. Dave Burgess gets the point.

View file

@ -186,7 +186,7 @@ five fields. Examples:
(run command if day-of-month AND day-of-week are true)
Get the picture? This would be compatable with existing versions of
Get the picture? This would be compatible with existing versions of
cron (which wouldn't currently be using any special characters, so
that old crontabs would be handled correctly).

View file

@ -254,7 +254,7 @@ load_entry(file, error_func, pw, envp)
}
}
/* make sundays equivilent */
/* make sundays equivalent */
if (bit_test(e->dow, 0) || bit_test(e->dow, 7)) {
bit_set(e->dow, 0);
bit_set(e->dow, 7);

View file

@ -426,7 +426,7 @@ putprivs(long id, struct quotause *quplist)
}
/*
* Take a list of priviledges and get it edited.
* Take a list of privileges and get it edited.
*/
int
editit(char *tmpf)

View file

@ -1056,7 +1056,7 @@ main(int argc, char **argv)
show_topology_map(fd);
/*
* Recieve data file from node "-R"
* Receive data file from node "-R"
*/
#define TAG (1<<6)
#define CHANNEL 63

View file

@ -94,7 +94,7 @@ MPEG-2 Transport Stream (MPEG TS) packet format according to IEC 61883:
N.b. that CRCs are removed by firewire layer!
The following fiels are fixed for IEEE-1394:
The following fields are fixed for IEEE-1394:
tag = 01b
tcode = 1010b
The length is payload length, i.e. includes CIP header and data size.

View file

@ -888,7 +888,7 @@ inm_print_sources_sysctl(uint32_t ifindex, struct in_addr gina)
/*
* Retrieve MLD per-group source filter mode and lists via sysctl.
*
* Note: The 128-bit IPv6 group addres needs to be segmented into
* Note: The 128-bit IPv6 group address needs to be segmented into
* 32-bit pieces for marshaling to sysctl. So the MIB name ends
* up looking like this:
* a.b.c.d.e.ifindex.g[0].g[1].g[2].g[3]

View file

@ -745,7 +745,7 @@ machtime_stream(int s, struct servtab *sep __unused)
#define MAX_SERV_LEN (256+2) /* 2 bytes for \r\n */
#define strwrite(fd, buf) (void) write(fd, buf, sizeof(buf)-1)
static int /* # of characters upto \r,\n or \0 */
static int /* # of characters up to \r,\n or \0 */
getline(int fd, char *buf, int len)
{
int count = 0, n;

View file

@ -547,7 +547,7 @@ check_file(const char *keym)
}
/*
* Read options from the relevent configuration file, then
* Read options from the relevant configuration file, then
* present to user.
*/
static void

View file

@ -240,13 +240,13 @@ kern_readonly(mode)
if (pflag && (mode == GMON_PROF_HIRES || mode == GMON_PROF_ON))
(void)fprintf(stderr, "data may be inconsistent\n");
if (rflag)
(void)fprintf(stderr, "-r supressed\n");
(void)fprintf(stderr, "-r suppressed\n");
if (Bflag)
(void)fprintf(stderr, "-B supressed\n");
(void)fprintf(stderr, "-B suppressed\n");
if (bflag)
(void)fprintf(stderr, "-b supressed\n");
(void)fprintf(stderr, "-b suppressed\n");
if (hflag)
(void)fprintf(stderr, "-h supressed\n");
(void)fprintf(stderr, "-h suppressed\n");
rflag = Bflag = bflag = hflag = 0;
}

View file

@ -78,7 +78,7 @@ void
rmjob(const char *printer)
{
register int i, nitems;
int assasinated = 0;
int assassinated = 0;
struct dirent **files;
char *cp;
struct printer myprinter, *pp = &myprinter;
@ -125,9 +125,9 @@ rmjob(const char *printer)
*/
if (lockchk(pp, pp->lock_file) && chk(current)) {
seteuid(euid);
assasinated = kill(cur_daemon, SIGINT) == 0;
assassinated = kill(cur_daemon, SIGINT) == 0;
seteuid(uid);
if (!assasinated)
if (!assassinated)
fatal(pp, "cannot kill printer daemon");
}
/*
@ -140,7 +140,7 @@ rmjob(const char *printer)
/*
* Restart the printer daemon if it was killed
*/
if (assasinated && !startdaemon(pp))
if (assassinated && !startdaemon(pp))
fatal(pp, "cannot restart printer daemon\n");
exit(0);
}

View file

@ -496,7 +496,7 @@ sortq(const void *a, const void *b)
fname_b = (*(const struct dirent * const *)b)->d_name;
/*
* First separate filenames into cagatories. Catagories are
* First separate filenames into categories. Categories are
* legitimate `cf', `df', `rf' & `tf' filenames, and "other" - in
* that order. It is critical that the mapping be exactly the
* same for 'a' vs 'b', so define a macro for the job.
@ -562,7 +562,7 @@ sortq(const void *a, const void *b)
/*
* We have two files which belong to the same job. Sort based
* on the catagory of file (`c' before `d', etc).
* on the category of file (`c' before `d', etc).
*/
if (cat_a < cat_b) {
res = a_lt_b;
@ -573,8 +573,8 @@ sortq(const void *a, const void *b)
}
/*
* Two files in the same catagory for a single job. Sort based
* on the sequence letter(s). (usually `A' thru `Z', etc).
* Two files in the same category for a single job. Sort based
* on the sequence letter(s). (usually `A' through `Z', etc).
*/
if (seq_a < seq_b) {
res = a_lt_b;

View file

@ -604,7 +604,7 @@ printit(struct printer *pp, char *file)
/*
* Print a file.
* Set up the chain [ PR [ | {IF, OF} ] ] or {IF, RF, TF, NF, DF, CF, VF}.
* Return -1 if a non-recoverable error occured,
* Return -1 if a non-recoverable error occurred,
* 2 if the filter detected some errors (but printed the job anyway),
* 1 if we should try to reprint this job and
* 0 if all is well.
@ -887,7 +887,7 @@ print(struct printer *pp, int format, char *file)
/*
* Send the daemon control file (cf) and any data files.
* Return -1 if a non-recoverable error occured, 1 if a recoverable error and
* Return -1 if a non-recoverable error occurred, 1 if a recoverable error and
* 0 if all is well.
*/
static int

View file

@ -203,7 +203,7 @@ usage(void)
* Read the entire accounting file, accumulating statistics
* for the users that we have in the hash table. If allflag
* is set, then just gather the facts on everyone.
* Note that we must accomodate both the active and summary file
* Note that we must accommodate both the active and summary file
* formats here.
* Host names are ignored if the -m flag is present.
*/

View file

@ -589,7 +589,7 @@ cd9660_write_boot(FILE *fd)
e->entry_type);
}
/*
* It doesnt matter which one gets written
* It doesn't matter which one gets written
* since they are the same size
*/
fwrite(&(e->entry_data.VE), 1, 32, fd);

View file

@ -305,10 +305,10 @@ cd9660_write_file(FILE *fd, cd9660node *writenode)
}
} else {
/*
* Here is a new revelation that ECMA didnt explain
* Here is a new revelation that ECMA didn't explain
* (at least not well).
* ALL . and .. records store the name "\0" and "\1"
* resepctively. So, for each directory, we have to
* respectively. So, for each directory, we have to
* make a new node.
*
* This is where it gets kinda messy, since we have to

View file

@ -298,7 +298,7 @@ cd9660_susp_initialize_node(cd9660node *node)
* CE: is added for us where needed
* ST: not sure if it is even required, but if so, should be
* handled by the CE code
* PD: isnt needed (though might be added for testing)
* PD: isn't needed (though might be added for testing)
* SP: is stored ONLY on the . record of the root directory
* ES: not sure
*/

View file

@ -145,7 +145,7 @@ static void *ffs_build_dinode2(struct ufs2_dinode *, dirbuf_t *, fsnode *,
int sectorsize; /* XXX: for buf.c::getblk() */
/* publically visible functions */
/* publicly visible functions */
void
ffs_prep_opts(fsinfo_t *fsopts)

View file

@ -78,8 +78,8 @@ ffs_fragacct_swap(struct fs *fs, int fragmap, int32_t fraglist[], int cnt, int n
* block operations
*
* check if a block is available
* returns true if all the correponding bits in the free map are 1
* returns false if any corresponding bit in the free map is 0
* returns true if all the corresponding bits in the free map are 1
* returns false if any corresponding bit in the free map is 0
*/
int
ffs_isblock(fs, cp, h)

View file

@ -172,7 +172,7 @@ create_fsnode(const char *name, struct stat *stbuf)
/*
* free_fsnodes --
* Removes node from tree and frees it and all of
* its decendents.
* its descendants.
*/
void
free_fsnodes(fsnode *node)

View file

@ -39,7 +39,7 @@ __FBSDID("$FreeBSD$");
/*
* Set the process's credentials to those specified in user,
* saveing the existing ones in save.
* saving the existing ones in save.
* Return 0 on success, -1 (with errno set) on error.
*/
int

View file

@ -92,7 +92,7 @@ int portal_pipe(struct portal_cred *pcr, char *key, char **v,
if (argc == 0)
return (ENOENT);
/* Swap priviledges. */
/* Swap privileges. */
if (set_user_credentials(pcr, &save_area) < 0)
return (errno);
@ -137,7 +137,7 @@ int portal_pipe(struct portal_cred *pcr, char *key, char **v,
}
done:
/* Re-establish our priviledges. */
/* Re-establish our privileges. */
if (restore_credentials(&save_area) < 0)
error = errno;

View file

@ -59,7 +59,7 @@ __FBSDID("$FreeBSD$");
* Key will be tcplisten/host/port
*
* Create a TCP socket bound to the requested host and port.
* If the host is "ANY" the receving address will be set to INADDR_ANY.
* If the host is "ANY" the receiving address will be set to INADDR_ANY.
* If the port is 0 the caller must find out the returned port number
* using a call to getsockname.
*

View file

@ -3092,7 +3092,7 @@ checkmask(struct sockaddr *sa)
/*
* Compare two sockaddrs according to a specified mask. Return zero if
* `sa1' matches `sa2' when filtered by the netmask in `samask'.
* If samask is NULL, perform a full comparision.
* If samask is NULL, perform a full comparison.
*/
int
sacmp(struct sockaddr *sa1, struct sockaddr *sa2, struct sockaddr *samask)

View file

@ -1025,7 +1025,7 @@ moused(void)
{
struct mouse_info mouse;
mousestatus_t action0; /* original mouse action */
mousestatus_t action; /* interrim buffer */
mousestatus_t action; /* interim buffer */
mousestatus_t action2; /* mapped action */
struct timeval timeout;
fd_set fds;
@ -2278,7 +2278,7 @@ r_protocol(u_char rBuf, mousestatus_t *act)
act->button |= ((pBuf[0] & MOUSE_PS2_TAP)) ? 0 : MOUSE_BUTTON4DOWN;
break;
case MOUSE_MODEL_NETSCROLL:
/* three addtional bytes encode buttons and wheel events */
/* three additional bytes encode buttons and wheel events */
act->button |= (pBuf[3] & MOUSE_PS2_BUTTON3DOWN)
? MOUSE_BUTTON4DOWN : 0;
act->button |= (pBuf[3] & MOUSE_PS2_BUTTON1DOWN)

View file

@ -482,7 +482,7 @@ find_next_volume(struct config_id_state *state)
if (state->list->drives[i]->PhysDiskID == state->target_id)
goto restart;
/* Seach volumes second. */
/* Search volumes second. */
vol = state->ioc2->RaidVolume;
for (i = 0; i < state->ioc2->NumActiveVolumes; vol++, i++)
if (vol->VolumeID == state->target_id)

View file

@ -1597,7 +1597,7 @@ delete_oldest_timelog(const struct conf_entry *ent, const char *archive_dir)
}
/*
* Generate a log filename, when using clasic filenames.
* Generate a log filename, when using classic filenames.
*/
static void
gen_clasiclog_fname(char *fname, size_t fname_sz, const char *archive_dir,
@ -1612,7 +1612,7 @@ gen_clasiclog_fname(char *fname, size_t fname_sz, const char *archive_dir,
}
/*
* Delete a rotated logfiles, when using clasic filenames.
* Delete a rotated logfiles, when using classic filenames.
*/
static void
delete_clasiclog(const char *archive_dir, const char *namepart, int numlog_c)

View file

@ -67,7 +67,7 @@ struct cache_read_response {
};
enum transformation_type {
TT_USER = 0, // tranform only the entries of the caller
TT_USER = 0, // transform only the entries of the caller
TT_ALL = 1 // transform all entries
};

View file

@ -783,7 +783,7 @@ The remaining files are necessary only for the
Autokey protocol.
.Pp
Certificates imported from OpenSSL or public certificate
authorities have certian limitations.
authorities have certain limitations.
The certificate should be in ASN.1 syntax, X.509 Version 3
format and encoded in PEM, which is the same format
used by OpenSSL.

View file

@ -73,7 +73,7 @@ DISK="`echo $PARTITION | cut -c 1-${CHARS}`"
# Make sure we have a valid disk name still
if [ ! -e "/dev/${DISK}" ] ; then
echo "Error: Disk: ${DISK} doesnt exist!"
echo "Error: Disk: ${DISK} doesn't exist!"
exit 1
fi

View file

@ -417,7 +417,7 @@ setup_disk_slice()
if [ $LASTSLICE -gt 4 ]
then
exit_err "ERROR: BSD only supports primary partitions, and there are none availble on $DISK"
exit_err "ERROR: BSD only supports primary partitions, and there are none available on $DISK"
fi
fi

View file

@ -69,7 +69,7 @@ if_check_value_exists()
{
if [ -n "${1}" -a -n "${2}" ]
then
# Get the first occurance of the setting from the config, strip out whitespace
# Get the first occurrence of the setting from the config, strip out whitespace
VAL=`grep "^${1}" ${CFGF} | head -n 1 | cut -d '=' -f 2 | tr -d ' '`
if [ -z "${VAL}" ]
@ -103,7 +103,7 @@ check_value()
{
if [ -n "${1}" -a -n "${2}" ]
then
# Get the first occurance of the setting from the config, strip out whitespace
# Get the first occurrence of the setting from the config, strip out whitespace
VAL=`grep "^${1}" ${CFGF} | head -n 1 | cut -d '=' -f 2 | tr -d ' '`
VALID="1"
for i in ${2}
@ -122,7 +122,7 @@ check_value()
fi
};
# Checks for the presense of the supplied arguements in the config file
# Checks for the presence of the supplied arguments in the config file
# 1 = values to confirm exist
file_sanity_check()
{

View file

@ -188,10 +188,10 @@ list_devs(int verbose, int bars, int caps)
/*
* 255 entries should be more than enough for most people,
* but if someone has more devices, and then changes things
* around between ioctls, we'll do the cheezy thing and
* around between ioctls, we'll do the cheesy thing and
* just bail. The alternative would be to go back to the
* beginning of the list, and print things twice, which may
* not be desireable.
* not be desirable.
*/
if (pc.status == PCI_GETCONF_LIST_CHANGED) {
warnx("PCI device list changed, please try again");

View file

@ -1,4 +1,6 @@
This is the pkg_install suite of tools for doing maintainance of
$FreeBSD$
This is the pkg_install suite of tools for doing maintenance of
software "packages". More documentation is available in the man pages
for each individual command.

View file

@ -1,7 +1,7 @@
/* $FreeBSD$ */
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,5 +1,5 @@
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,5 +1,5 @@
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,6 +1,6 @@
/*
*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,5 +1,5 @@
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,5 +1,5 @@
.\"
.\" FreeBSD install - a package for the installation and maintainance
.\" FreeBSD install - a package for the installation and maintenance
.\" of non-core utilities.
.\"
.\" Redistribution and use in source and binary forms, with or without

View file

@ -1,7 +1,7 @@
/* $FreeBSD$ */
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,5 +1,5 @@
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Jordan K. Hubbard

View file

@ -1,5 +1,5 @@
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,5 +1,5 @@
.\"
.\" FreeBSD install - a package for the installation and maintainance
.\" FreeBSD install - a package for the installation and maintenance
.\" of non-core utilities.
.\"
.\" Redistribution and use in source and binary forms, with or without

View file

@ -1,5 +1,5 @@
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,7 +1,7 @@
/* $FreeBSD$ */
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,6 +1,6 @@
/*
*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,5 +1,5 @@
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,5 +1,5 @@
.\"
.\" FreeBSD install - a package for the installation and maintainance
.\" FreeBSD install - a package for the installation and maintenance
.\" of non-core utilities.
.\"
.\" Redistribution and use in source and binary forms, with or without

View file

@ -1,7 +1,7 @@
/* $FreeBSD$ */
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,6 +1,6 @@
/*
*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,5 +1,5 @@
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,5 +1,5 @@
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,5 +1,5 @@
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without
@ -168,7 +168,7 @@ void list_deps(const char *pkgname, char **pkgs, char *listed,
/*
* Load +REQUIRED_BY file and return a list with names of
* packages that require package reffered to by `pkgname'.
* packages that require package referred to by `pkgname'.
*
* Optionally check that packages listed there are actually
* installed and filter out those that don't (filter == TRUE).

View file

@ -1,5 +1,5 @@
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,5 +1,5 @@
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,5 +1,5 @@
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,7 +1,7 @@
/* $FreeBSD$ */
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,5 +1,5 @@
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without
@ -361,7 +361,7 @@ LIST_HEAD(, iip_memo) iip_memo = LIST_HEAD_INITIALIZER(iip_memo);
/*
*
* Return 1 if the specified package is installed,
* 0 if not, and -1 if an error occured.
* 0 if not, and -1 if an error occurred.
*/
int
isinstalledpkg(const char *name)

View file

@ -1,5 +1,5 @@
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,5 +1,5 @@
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,5 +1,5 @@
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without
@ -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
* too.) If 'all' is set, delete all items, not just the first occurance.
* too.) If 'all' is set, delete all items, not just the first occurrance.
*/
void
delete_plist(Package *pkg, Boolean all, plist_t type, const char *name)

View file

@ -1,5 +1,5 @@
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,5 +1,5 @@
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,5 +1,5 @@
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,5 +1,5 @@
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -1,7 +1,7 @@
/* $FreeBSD$ */
/*
* FreeBSD install - a package for the installation and maintainance
* FreeBSD install - a package for the installation and maintenance
* of non-core utilities.
*
* Redistribution and use in source and binary forms, with or without

View file

@ -862,7 +862,7 @@ pmcpl_ct_node_printchild(struct pmcpl_ct_node *ct)
/*
* Child cost.
* TODO: attach child cost to the real position in the funtion.
* TODO: attach child cost to the real position in the function.
* TODO: cfn=<fn> / call <ncall> addr(<fn>) / addr(call <fn>) <arccost>
*/
for (i=0 ; i<ct->pct_narc; i++) {

View file

@ -326,7 +326,7 @@ pmcpl_gmon_initimage(struct pmcstat_image *pi)
else {
/*
* Otherwise use a prefix from the original name and
* upto 3 digits.
* up to 3 digits.
*/
nlen = strlen(sn);
nlen = min(nlen, (int) (sizeof(name)-sizeof("~NNN.gmon")));

View file

@ -98,7 +98,7 @@ __FBSDID("$FreeBSD$");
* and starts them. Sets up
* monitoring for the child.
* - Signals child to start.
* - Recieves signal, attempts exec().
* - Receives signal, attempts exec().
*
* After this point normal processing can happen.
*/

View file

@ -254,7 +254,7 @@ static void pmcstat_stats_reset(int _reset_global);
/*
* A simple implementation of interned strings. Each interned string
* is assigned a unique address, so that subsequent string compares
* can be done by a simple pointer comparision instead of using
* can be done by a simple pointer comparison instead of using
* strcmp(). This speeds up hash table lookups and saves memory if
* duplicate strings are the norm.
*/

View file

@ -353,7 +353,7 @@ static int
cbcp_AdjustResponse(struct cbcp *cbcp, struct cbcp_data *data)
{
/*
* We've received a REQ (data). Adjust our reponse (cbcp->fsm.*)
* We've received a REQ (data). Adjust our response (cbcp->fsm.*)
* so that we (hopefully) agree with the peer
*/
struct cbcp_addr *addr;

View file

@ -52,8 +52,8 @@ struct chat {
char *nargptr; /* Our next for expect-send-expect */
char buf[LINE_LEN*2]; /* Our input */
char *bufstart; /* start of relevent data */
char *bufend; /* end of relevent data */
char *bufstart; /* start of relevant data */
char *bufend; /* end of relevant data */
int TimeoutSec; /* Expect timeout value */
int TimedOut; /* We timed out */

View file

@ -416,7 +416,7 @@ DialCommand(struct cmdargs const *arg)
static char *
strstrword(char *big, const char *little)
{
/* Get the first occurance of the word ``little'' in ``big'' */
/* Get the first occurrance of the word ``little'' in ``big'' */
char *pos;
int len;
@ -1852,13 +1852,13 @@ SetVariable(struct cmdargs const *arg)
case PHASE_ESTABLISH:
/* Make sure none of our links are DATALINK_LCP or greater */
if (bundle_HighestState(arg->bundle) >= DATALINK_LCP) {
log_Printf(LogWARN, "mrru: Only changable before LCP negotiations\n");
log_Printf(LogWARN, "mrru: Only changeable before LCP negotiations\n");
res = 1;
break;
}
break;
default:
log_Printf(LogWARN, "mrru: Only changable at phase DEAD/ESTABLISH\n");
log_Printf(LogWARN, "mrru: Only changeable at phase DEAD/ESTABLISH\n");
res = 1;
break;
}
@ -2944,13 +2944,13 @@ NegotiateSet(struct cmdargs const *arg)
case PHASE_ESTABLISH:
/* Make sure none of our links are DATALINK_LCP or greater */
if (bundle_HighestState(arg->bundle) >= DATALINK_LCP) {
log_Printf(LogWARN, "shortseq: Only changable before"
log_Printf(LogWARN, "shortseq: Only changeable before"
" LCP negotiations\n");
return 1;
}
break;
default:
log_Printf(LogWARN, "shortseq: Only changable at phase"
log_Printf(LogWARN, "shortseq: Only changeable at phase"
" DEAD/ESTABLISH\n");
return 1;
}

View file

@ -965,13 +965,13 @@ mp_SetEnddisc(struct cmdargs const *arg)
case PHASE_ESTABLISH:
/* Make sure none of our links are DATALINK_LCP or greater */
if (bundle_HighestState(arg->bundle) >= DATALINK_LCP) {
log_Printf(LogWARN, "enddisc: Only changable before"
log_Printf(LogWARN, "enddisc: Only changeable before"
" LCP negotiations\n");
return 1;
}
break;
default:
log_Printf(LogWARN, "enddisc: Only changable at phase DEAD/ESTABLISH\n");
log_Printf(LogWARN, "enddisc: Only changeable at phase DEAD/ESTABLISH\n");
return 1;
}

View file

@ -1594,7 +1594,7 @@ is the IP number that your route to
.Dq ui-gate
would normally use.
.Pp
When routing your connection accross a public network such as the Internet,
When routing your connection across a public network such as the Internet,
it is preferable to encrypt the data.
This can be done with the help of the MPPE protocol, although currently this
means that you will not be able to also compress the traffic as MPPE is

View file

@ -137,7 +137,7 @@ VjUncompressTcp(struct ipcp *ipcp, struct mbuf *bp, u_char type)
}
/*
* Handle compressed packet. 1) Read upto MAX_VJHEADER bytes into work
* Handle compressed packet. 1) Read up to MAX_VJHEADER bytes into work
* space. 2) Try to uncompress it. 3) Compute amount of necessary space. 4)
* Copy unread data info there.
*/

View file

@ -83,14 +83,14 @@ copymkdir(char const * dir, char const * skel, mode_t mode, uid_t uid, gid_t gid
if (S_ISDIR(st.st_mode)) { /* Recurse for this */
if (strcmp(e->d_name, ".") != 0 && strcmp(e->d_name, "..") != 0)
copymkdir(dst, src, st.st_mode & _DEF_DIRMODE, uid, gid);
chflags(dst, st.st_flags); /* propogate flags */
chflags(dst, st.st_flags); /* propagate flags */
} else if (S_ISLNK(st.st_mode) && (len = readlink(src, lnk, sizeof(lnk))) != -1) {
lnk[len] = '\0';
symlink(lnk, dst);
lchown(dst, uid, gid);
/*
* Note: don't propogate special attributes
* but do propogate file flags
* Note: don't propagate special attributes
* but do propagate file flags
*/
} else if (S_ISREG(st.st_mode) && (outfd = open(dst, O_RDWR | O_CREAT | O_EXCL, st.st_mode)) != -1) {
if ((infd = open(src, O_RDONLY)) == -1) {
@ -108,7 +108,7 @@ copymkdir(char const * dir, char const * skel, mode_t mode, uid_t uid, gid_t gid
write(outfd, copybuf, b);
close(infd);
/*
* Propogate special filesystem flags
* Propagate special filesystem flags
*/
fchown(outfd, uid, gid);
fchflags(outfd, st.st_flags);

View file

@ -159,7 +159,7 @@ struct rip6 *ripbuf; /* packet buffer for sending */
* One of the major drawbacks of the linear linked list is the difficulty
* of representing the relationship between a couple of routes. This may
* be a significant problem when we have to support route aggregation with
* supressing the specifices covered by the aggregate.
* suppressing the specifics covered by the aggregate.
*/
struct riprt {

Some files were not shown because too many files have changed in this diff Show more