aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-05-12 16:43:26 +0000
committerEitan Adler <eadler@FreeBSD.org>2013-05-12 16:43:26 +0000
commita164074fc480463f38fc06e8e3cca228fbef2125 (patch)
tree934de69485eb14f423c724379ef3b6adc9c60b56
parentd02e5a206dab6481cd1a2fa12560849dd178c6d8 (diff)
downloadsrc-a164074fc480463f38fc06e8e3cca228fbef2125.tar.gz
src-a164074fc480463f38fc06e8e3cca228fbef2125.zip
Fix several typos
PR: kern/176054 Submitted by: Christoph Mallon <christoph.mallon@gmx.de> MFC after: 3 days
Notes
Notes: svn path=/head/; revision=250576
-rw-r--r--lib/libc/posix1e/acl_is_trivial_np.32
-rw-r--r--share/man/man7/c99.72
-rw-r--r--sys/dev/ata/ata-lowlevel.c2
-rw-r--r--sys/dev/uart/uart_core.c4
-rw-r--r--sys/dev/usb/serial/usb_serial.c2
-rw-r--r--sys/dev/usb/serial/usb_serial.h2
-rw-r--r--sys/fs/fdescfs/fdesc_vnops.c2
-rw-r--r--sys/mips/mips/stack_machdep.c2
-rw-r--r--sys/netgraph/bluetooth/hci/ng_hci_ulpi.c2
-rw-r--r--sys/ufs/ffs/ffs_balloc.c2
-rw-r--r--sys/x86/x86/local_apic.c2
11 files changed, 12 insertions, 12 deletions
diff --git a/lib/libc/posix1e/acl_is_trivial_np.3 b/lib/libc/posix1e/acl_is_trivial_np.3
index 4ad1a632291b..a9cd4dfe3549 100644
--- a/lib/libc/posix1e/acl_is_trivial_np.3
+++ b/lib/libc/posix1e/acl_is_trivial_np.3
@@ -52,7 +52,7 @@ will be set to 1, if the ACL
.Fa aclp
points to is trivial, or 0 if it's not.
.Pp
-ACL is trivial if it can be fully expressed as a file mode without loosing
+ACL is trivial if it can be fully expressed as a file mode without losing
any access rules.
For POSIX.1e ACLs, ACL is trivial if it has the three required entries,
one for owner, one for owning group, and one for other.
diff --git a/share/man/man7/c99.7 b/share/man/man7/c99.7
index e12d000476f3..43ef6750cd66 100644
--- a/share/man/man7/c99.7
+++ b/share/man/man7/c99.7
@@ -70,7 +70,7 @@ The elements of this standard library is still not enough for more
complicated tasks.
In this case the provided system calls of the given operating system can be
used.
-To not loose the portability by using these system calls, the POSIX
+To not lose the portability by using these system calls, the POSIX
(Portable Operating System Interface) standard evolved.
It describes what functions should be available to keep portability.
Note, that POSIX is not a C standard, but an operating system standard
diff --git a/sys/dev/ata/ata-lowlevel.c b/sys/dev/ata/ata-lowlevel.c
index 5ecb7539c303..459f98ccac5e 100644
--- a/sys/dev/ata/ata-lowlevel.c
+++ b/sys/dev/ata/ata-lowlevel.c
@@ -503,7 +503,7 @@ ata_generic_reset(device_t dev)
mask, ostat0, ostat1);
/* if nothing showed up there is no need to get any further */
- /* XXX SOS is that too strong?, we just might loose devices here */
+ /* XXX SOS is that too strong?, we just might lose devices here */
ch->devices = 0;
if (!mask)
return;
diff --git a/sys/dev/uart/uart_core.c b/sys/dev/uart/uart_core.c
index b264e5b54cea..b6bed034a6a4 100644
--- a/sys/dev/uart/uart_core.c
+++ b/sys/dev/uart/uart_core.c
@@ -137,7 +137,7 @@ uart_intr_break(void *arg)
* much of the data we can, but otherwise flush the receiver FIFO to
* create some breathing room. The net effect is that we avoid the
* overrun condition to happen for the next X characters, where X is
- * related to the FIFO size at the cost of loosing data right away.
+ * related to the FIFO size at the cost of losing data right away.
* So, instead of having multiple overrun interrupts in close proximity
* to each other and possibly pessimizing UART interrupt latency for
* other UARTs in a multiport configuration, we create a longer segment
@@ -192,7 +192,7 @@ uart_intr_rxready(void *arg)
* Line or modem status change (OOB signalling).
* We pass the signals to the software interrupt handler for further
* processing. Note that we merge the delta bits, but set the state
- * bits. This is to avoid loosing state transitions due to having more
+ * bits. This is to avoid losing state transitions due to having more
* than 1 hardware interrupt between software interrupts.
*/
static __inline int
diff --git a/sys/dev/usb/serial/usb_serial.c b/sys/dev/usb/serial/usb_serial.c
index 3bf6ee0702f5..22d89ae35c5e 100644
--- a/sys/dev/usb/serial/usb_serial.c
+++ b/sys/dev/usb/serial/usb_serial.c
@@ -965,7 +965,7 @@ ucom_cfg_line_state(struct usb_proc_msg *_task)
sc->sc_pls_set = 0;
sc->sc_pls_clr = 0;
- /* ensure that we don't loose any levels */
+ /* ensure that we don't lose any levels */
if (notch_bits & UCOM_LS_DTR)
sc->sc_callback->ucom_cfg_set_dtr(sc,
(prev_value & UCOM_LS_DTR) ? 1 : 0);
diff --git a/sys/dev/usb/serial/usb_serial.h b/sys/dev/usb/serial/usb_serial.h
index 0ac822d4ab04..c0ed57f98c2f 100644
--- a/sys/dev/usb/serial/usb_serial.h
+++ b/sys/dev/usb/serial/usb_serial.h
@@ -146,7 +146,7 @@ struct ucom_super_softc {
struct ucom_softc {
/*
- * NOTE: To avoid loosing level change information we use two
+ * NOTE: To avoid losing level change information we use two
* tasks instead of one for all commands.
*
* Level changes are transitions like:
diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c
index e54c77e381bc..f18c0fc13f95 100644
--- a/sys/fs/fdescfs/fdesc_vnops.c
+++ b/sys/fs/fdescfs/fdesc_vnops.c
@@ -333,7 +333,7 @@ fdesc_lookup(ap)
* and the root vnode lock will be obtained afterwards (in case
* we're looking up the fd of the root vnode), which will be the
* opposite lock order. Vhold the root vnode first so we don't
- * loose it.
+ * lose it.
*/
vhold(dvp);
VOP_UNLOCK(dvp, 0);
diff --git a/sys/mips/mips/stack_machdep.c b/sys/mips/mips/stack_machdep.c
index 2d67273df3ae..e7971a2a9ccf 100644
--- a/sys/mips/mips/stack_machdep.c
+++ b/sys/mips/mips/stack_machdep.c
@@ -148,7 +148,7 @@ stack_save(struct stack *st)
u_register_t pc, sp;
if (curthread == NULL)
- panic("stack_save: curthread == NULL)");
+ panic("stack_save: curthread == NULL");
pc = curthread->td_pcb->pcb_regs.pc;
sp = curthread->td_pcb->pcb_regs.sp;
diff --git a/sys/netgraph/bluetooth/hci/ng_hci_ulpi.c b/sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
index 4c06c07938b0..33ed0e928cac 100644
--- a/sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
+++ b/sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
@@ -391,7 +391,7 @@ ng_hci_lp_sco_con_req(ng_hci_unit_p unit, item_p item, hook_p hook)
default:
panic(
-"%s: %s - Inavalid connection state=%d\n",
+"%s: %s - Invalid connection state=%d\n",
__func__, NG_NODE_NAME(unit->node),
sco_con->state);
break;
diff --git a/sys/ufs/ffs/ffs_balloc.c b/sys/ufs/ffs/ffs_balloc.c
index c57c5e332c2b..1e809bbdfa03 100644
--- a/sys/ufs/ffs/ffs_balloc.c
+++ b/sys/ufs/ffs/ffs_balloc.c
@@ -1011,7 +1011,7 @@ fail:
* We have to sync it at the end so that the soft updates code
* does not find any untracked changes. Although this is really
* slow, running out of disk space is not expected to be a common
- * occurence. The error return from fsync is ignored as we already
+ * occurrence. The error return from fsync is ignored as we already
* have an error to return to the user.
*
* XXX Still have to journal the free below
diff --git a/sys/x86/x86/local_apic.c b/sys/x86/x86/local_apic.c
index ac87ebd075f3..42ffa48f7365 100644
--- a/sys/x86/x86/local_apic.c
+++ b/sys/x86/x86/local_apic.c
@@ -789,7 +789,7 @@ lapic_handle_timer(struct trapframe *frame)
* Don't do any accounting for the disabled HTT cores, since it
* will provide misleading numbers for the userland.
*
- * No locking is necessary here, since even if we loose the race
+ * No locking is necessary here, since even if we lose the race
* when hlt_cpus_mask changes it is not a big deal, really.
*
* Don't do that for ULE, since ULE doesn't consider hlt_cpus_mask