summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/i386/cpu.c4
-rw-r--r--sys/arch/m68k/fpsp/fpsp.h4
-rw-r--r--sys/arch/macppc/stand/main.c4
-rw-r--r--sys/arch/mvme88k/dev/mainbus.c6
-rw-r--r--sys/arch/sparc/dev/fd.c4
-rw-r--r--sys/arch/sparc/dev/si.c4
-rw-r--r--sys/dev/i2o/iop.c4
-rw-r--r--sys/dev/ic/aic79xx.c8
-rw-r--r--sys/dev/ic/aic7xxx.c8
-rw-r--r--sys/dev/pci/if_casreg.h4
-rw-r--r--sys/dev/pci/pciide.c4
-rw-r--r--sys/dev/usb/if_atu.c4
-rw-r--r--sys/dev/usb/if_atureg.h4
-rw-r--r--sys/kern/kern_sig.c4
-rw-r--r--sys/msdosfs/msdosfs_lookup.c4
-rw-r--r--sys/net/if_strip.c4
-rw-r--r--sys/netinet/tcp_input.c4
-rw-r--r--sys/netinet6/ip6_input.c4
-rw-r--r--sys/scsi/ss.c4
-rw-r--r--sys/scsi/st.c4
-rw-r--r--sys/scsi/uk.c4
-rw-r--r--sys/sys/socket.h4
-rw-r--r--sys/ufs/ffs/ffs_balloc.c6
23 files changed, 52 insertions, 52 deletions
diff --git a/sys/arch/i386/i386/cpu.c b/sys/arch/i386/i386/cpu.c
index 5439a8b6986..24d2510983d 100644
--- a/sys/arch/i386/i386/cpu.c
+++ b/sys/arch/i386/i386/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.27 2007/11/16 16:16:06 deraadt Exp $ */
+/* $OpenBSD: cpu.c,v 1.28 2007/11/27 16:22:13 martynas Exp $ */
/* $NetBSD: cpu.c,v 1.1.2.7 2000/06/26 02:04:05 sommerfeld Exp $ */
/*-
@@ -530,7 +530,7 @@ cpu_set_tss_gates(struct cpu_info *ci)
#if defined(DDB) && defined(MULTIPROCESSOR)
/*
- * Set up seperate handler for the DDB IPI, so that it doesn't
+ * Set up separate handler for the DDB IPI, so that it doesn't
* stomp on a possibly corrupted stack.
*
* XXX overwriting the gate set in db_machine_init.
diff --git a/sys/arch/m68k/fpsp/fpsp.h b/sys/arch/m68k/fpsp/fpsp.h
index 3159970d25e..5956772069d 100644
--- a/sys/arch/m68k/fpsp/fpsp.h
+++ b/sys/arch/m68k/fpsp/fpsp.h
@@ -1,4 +1,4 @@
-* $OpenBSD: fpsp.h,v 1.2 1996/05/29 21:05:28 niklas Exp $
+* $OpenBSD: fpsp.h,v 1.3 2007/11/27 16:22:13 martynas Exp $
* $NetBSD: fpsp.h,v 1.2 1994/10/26 07:49:04 cgd Exp $
* MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP
@@ -187,7 +187,7 @@ WBTEMP_GRS equ LV-40 ;alias wbtemp guard, round, sticky
guard_bit equ 1 ;guard bit is bit number 1
round_bit equ 0 ;round bit is bit number 0
stag_mask equ $E0 ;upper 3 bits are source tag type
-denorm_bit equ 7 ;bit determins if denorm or unnorm
+denorm_bit equ 7 ;bit determines if denorm or unnorm
etemp15_bit equ 4 ;etemp exponent bit #15
wbtemp66_bit equ 2 ;wbtemp mantissa bit #66
wbtemp1_bit equ 1 ;wbtemp mantissa bit #1
diff --git a/sys/arch/macppc/stand/main.c b/sys/arch/macppc/stand/main.c
index a705651e585..d376a1105ff 100644
--- a/sys/arch/macppc/stand/main.c
+++ b/sys/arch/macppc/stand/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.3 2007/06/24 14:58:12 tom Exp $ */
+/* $OpenBSD: main.c,v 1.4 2007/11/27 16:22:13 martynas Exp $ */
/* $NetBSD: boot.c,v 1.1 1997/04/16 20:29:17 thorpej Exp $ */
/*
@@ -205,7 +205,7 @@ get_alt_bootdev(char *dev, size_t devsz, char *line, size_t linesz)
int len;
/*
* if the kernel image specified contains a ':' it is
- * [device]:[kernel], so seperate the two fields.
+ * [device]:[kernel], so separate the two fields.
*/
p = strrchr(line, ':');
if (p == NULL)
diff --git a/sys/arch/mvme88k/dev/mainbus.c b/sys/arch/mvme88k/dev/mainbus.c
index f8a92d0c1a5..2bcd69abf25 100644
--- a/sys/arch/mvme88k/dev/mainbus.c
+++ b/sys/arch/mvme88k/dev/mainbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mainbus.c,v 1.22 2007/02/11 12:41:29 miod Exp $ */
+/* $OpenBSD: mainbus.c,v 1.23 2007/11/27 16:22:13 martynas Exp $ */
/*
* Copyright (c) 1998 Steve Murphree, Jr.
* Copyright (c) 2004, Miodrag Vallat.
@@ -151,7 +151,7 @@ mapiodev(paddr_t addr, int _size)
if (bs_obio_end == 0 || epa <= bs_obio_end)
return ((vaddr_t)addr);
else if (addr <= bs_obio_end)
- /* accross obio and non-obio, not supported */
+ /* across obio and non-obio, not supported */
return NULL;
}
@@ -211,7 +211,7 @@ unmapiodev(vaddr_t va, int _size)
if (bs_obio_end == 0 || eva <= bs_obio_end)
return;
else if (va <= bs_obio_end)
- /* accross obio and non-obio, not supported */
+ /* across obio and non-obio, not supported */
return;
}
diff --git a/sys/arch/sparc/dev/fd.c b/sys/arch/sparc/dev/fd.c
index d0751be1fd8..0e077bb12e1 100644
--- a/sys/arch/sparc/dev/fd.c
+++ b/sys/arch/sparc/dev/fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fd.c,v 1.55 2007/10/01 16:11:19 krw Exp $ */
+/* $OpenBSD: fd.c,v 1.56 2007/11/27 16:22:13 martynas Exp $ */
/* $NetBSD: fd.c,v 1.51 1997/05/24 20:16:19 pk Exp $ */
/*-
@@ -395,7 +395,7 @@ fdconf(fdc)
/* No result phase for the NE7CMD_CFG command */
if ((fdc->sc_flags & FDC_82077) != 0) {
- /* Lock configuration accross soft resets. */
+ /* Lock configuration across soft resets. */
if (fdc_wrfifo(fdc, NE7CMD_LOCK | CFG_LOCK) != 0 ||
fdcresult(fdc) != 1) {
#ifdef FD_DEBUG
diff --git a/sys/arch/sparc/dev/si.c b/sys/arch/sparc/dev/si.c
index 7ad3efc3eec..356b0e3a91f 100644
--- a/sys/arch/sparc/dev/si.c
+++ b/sys/arch/sparc/dev/si.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: si.c,v 1.27 2007/07/01 19:05:37 miod Exp $ */
+/* $OpenBSD: si.c,v 1.28 2007/11/27 16:22:13 martynas Exp $ */
/* $NetBSD: si.c,v 1.38 1997/08/27 11:24:20 bouyer Exp $ */
/*-
@@ -85,7 +85,7 @@
* reselection failing on Sun Shoebox-type configurations where
* there are multiple non-SCSI devices behind Emulex or Adaptec
* bridges. These devices pre-date the SCSI-I spec, and might not
- * bahve the way the 5380 code expects. For this reason, only
+ * behave the way the 5380 code expects. For this reason, only
* DMA is enabled by default in this driver.
*
* Jason R. Thorpe <thorpej@NetBSD.ORG>
diff --git a/sys/dev/i2o/iop.c b/sys/dev/i2o/iop.c
index e9515f55ff4..fedd53964ca 100644
--- a/sys/dev/i2o/iop.c
+++ b/sys/dev/i2o/iop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iop.c,v 1.33 2007/11/26 09:28:33 martynas Exp $ */
+/* $OpenBSD: iop.c,v 1.34 2007/11/27 16:22:13 martynas Exp $ */
/* $NetBSD: iop.c,v 1.12 2001/03/21 14:27:05 ad Exp $ */
/*-
@@ -376,7 +376,7 @@ iop_init(struct iop_softc *sc, const char *intrstr)
SLIST_INSERT_HEAD(&sc->sc_im_freelist, im, im_chain);
}
- /* Initalise the IOP's outbound FIFO. */
+ /* Initialize the IOP's outbound FIFO. */
if (iop_ofifo_init(sc) != 0) {
printf("%s: unable to init outbound FIFO\n",
sc->sc_dv.dv_xname);
diff --git a/sys/dev/ic/aic79xx.c b/sys/dev/ic/aic79xx.c
index 48b55fc34a1..bf33faba315 100644
--- a/sys/dev/ic/aic79xx.c
+++ b/sys/dev/ic/aic79xx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aic79xx.c,v 1.42 2007/11/25 16:40:04 jmc Exp $ */
+/* $OpenBSD: aic79xx.c,v 1.43 2007/11/27 16:22:13 martynas Exp $ */
/*
* Copyright (c) 2004 Milos Urbanek, Kenneth R. Westerback & Marco Peereboom
@@ -1633,7 +1633,7 @@ ahd_handle_scsiint(struct ahd_softc *ahd, u_int intstat)
/*
* Although the driver does not care about the
* 'Selection in Progress' status bit, the busy
- * LED does. SELINGO is only cleared by a successfull
+ * LED does. SELINGO is only cleared by a successful
* selection, so we must manually clear it to insure
* the LED turns off just incase no future successful
* selections occur (e.g. no devices on the bus).
@@ -5659,7 +5659,7 @@ ahd_init_scbdata(struct ahd_softc *ahd)
}
/*
- * Note that we were successfull
+ * Note that we were successful
*/
return (0);
@@ -6189,7 +6189,7 @@ ahd_init(struct ahd_softc *ahd)
return (ENOMEM);
/*
- * Verify that the compiler hasn't over-agressively
+ * Verify that the compiler hasn't over-aggressively
* padded important structures.
*/
if (sizeof(struct hardware_scb) != 64)
diff --git a/sys/dev/ic/aic7xxx.c b/sys/dev/ic/aic7xxx.c
index 89e94e3bdfd..4b6ee854d17 100644
--- a/sys/dev/ic/aic7xxx.c
+++ b/sys/dev/ic/aic7xxx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aic7xxx.c,v 1.79 2007/11/25 16:40:04 jmc Exp $ */
+/* $OpenBSD: aic7xxx.c,v 1.80 2007/11/27 16:22:13 martynas Exp $ */
/* $NetBSD: aic7xxx.c,v 1.108 2003/11/02 11:07:44 wiz Exp $ */
/*
@@ -40,7 +40,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
- * $Id: aic7xxx.c,v 1.79 2007/11/25 16:40:04 jmc Exp $
+ * $Id: aic7xxx.c,v 1.80 2007/11/27 16:22:13 martynas Exp $
*/
/*
* Ported from FreeBSD by Pascal Renauld, Network Storage Solutions, Inc. - April 2003
@@ -1224,7 +1224,7 @@ ahc_handle_scsiint(struct ahc_softc *ahc, u_int intstat)
/*
* Although the driver does not care about the
* 'Selection in Progress' status bit, the busy
- * LED does. SELINGO is only cleared by a successfull
+ * LED does. SELINGO is only cleared by a successful
* selection, so we must manually clear it to insure
* the LED turns off just incase no future successful
* selections occur (e.g. no devices on the bus).
@@ -4305,7 +4305,7 @@ ahc_init_scbdata(struct ahc_softc *ahc)
ahc->next_queued_scb = ahc_get_scb(ahc);
/*
- * Note that we were successfull
+ * Note that we were successful
*/
return (0);
diff --git a/sys/dev/pci/if_casreg.h b/sys/dev/pci/if_casreg.h
index 16e6fc0462b..11e3e1a6b13 100644
--- a/sys/dev/pci/if_casreg.h
+++ b/sys/dev/pci/if_casreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_casreg.h,v 1.8 2007/11/26 15:55:59 kettenis Exp $ */
+/* $OpenBSD: if_casreg.h,v 1.9 2007/11/27 16:22:13 martynas Exp $ */
/*
*
@@ -240,7 +240,7 @@
/* CAS_RX_PAGE_SIZE register bits. */
#define CAS_RX_PAGE_SIZE_SZ 0x00000003 /* Page size */
#define CAS_RX_PAGE_SIZE_COUNT 0x00007800 /* MTU buffers per page */
-#define CAS_RX_PAGE_SIZE_STRIDE 0x18000000 /* MTU buffer seperation */
+#define CAS_RX_PAGE_SIZE_STRIDE 0x18000000 /* MTU buffer separation */
#define CAS_RX_PAGE_SIZE_FBOFF 0xc0000000 /* Firts byte offset */
#define CAS_RX_PAGE_SIZE_COUNT_SHIFT 11
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c
index a191b2f9fc4..1db41cc12af 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.275 2007/10/17 22:11:52 brad Exp $ */
+/* $OpenBSD: pciide.c,v 1.276 2007/11/27 16:22:13 martynas Exp $ */
/* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */
/*
@@ -2221,7 +2221,7 @@ piix_timing_debug(struct pciide_softc *sc)
pci_conf_read(sc->sc_pc, sc->sc_tag, PIIX_SIDETIM)),
DEBUG_PROBE);
if (sc->sc_wdcdev.cap & WDC_CAPABILITY_UDMA) {
- WDCDEBUG_PRINT((", udamreg 0x%x",
+ WDCDEBUG_PRINT((", udmareg 0x%x",
pci_conf_read(sc->sc_pc, sc->sc_tag, PIIX_UDMAREG)),
DEBUG_PROBE);
}
diff --git a/sys/dev/usb/if_atu.c b/sys/dev/usb/if_atu.c
index baeebb207cf..30033557984 100644
--- a/sys/dev/usb/if_atu.c
+++ b/sys/dev/usb/if_atu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_atu.c,v 1.90 2007/11/25 16:40:03 jmc Exp $ */
+/* $OpenBSD: if_atu.c,v 1.91 2007/11/27 16:22:13 martynas Exp $ */
/*
* Copyright (c) 2003, 2004
* Daan Vreeken <Danovitsch@Vitsch.net>. All rights reserved.
@@ -876,7 +876,7 @@ atu_internal_firmware(void *arg)
* Uploading firmware is done with the DFU (Device Firmware Upgrade)
* interface. See "Universal Serial Bus - Device Class Specification
* for Device Firmware Upgrade" pdf for details of the protocol.
- * Maybe this could be moved to a seperate 'firmware driver' once more
+ * Maybe this could be moved to a separate 'firmware driver' once more
* device drivers need it... For now we'll just do it here.
*
* Just for your information, the Atmel's DFU descriptor looks like
diff --git a/sys/dev/usb/if_atureg.h b/sys/dev/usb/if_atureg.h
index c97306820c3..f0e885d2a9b 100644
--- a/sys/dev/usb/if_atureg.h
+++ b/sys/dev/usb/if_atureg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_atureg.h,v 1.30 2007/06/09 11:06:53 mbalmer Exp $ */
+/* $OpenBSD: if_atureg.h,v 1.31 2007/11/27 16:22:13 martynas Exp $ */
/*
* Copyright (c) 2003
* Daan Vreeken <Danovitsch@Vitsch.net>. All rights reserved.
@@ -442,7 +442,7 @@ struct atu_tx_hdr {
#define NR(x) (void *)((long)x)
/*
- * The linux driver uses seperate routines for every mib request they do
+ * The linux driver uses separate routines for every mib request they do
* (eg. set_radio / set_preamble / set_frag / etc etc )
* We just define a list of types, sizes and offsets and use those
*/
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index bbef689712a..b28d29a6a35 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sig.c,v 1.96 2007/11/19 17:47:47 millert Exp $ */
+/* $OpenBSD: kern_sig.c,v 1.97 2007/11/27 16:22:13 martynas Exp $ */
/* $NetBSD: kern_sig.c,v 1.54 1996/04/22 01:38:32 christos Exp $ */
/*
@@ -1278,7 +1278,7 @@ postsig(int signum)
#endif
/*
* Set the new mask value and also defer further
- * occurences of this signal.
+ * occurrences of this signal.
*
* Special case: user has done a sigpause. Here the
* current mask is not of interest, but rather the
diff --git a/sys/msdosfs/msdosfs_lookup.c b/sys/msdosfs/msdosfs_lookup.c
index d671033e408..a1fa8ce5f56 100644
--- a/sys/msdosfs/msdosfs_lookup.c
+++ b/sys/msdosfs/msdosfs_lookup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msdosfs_lookup.c,v 1.19 2007/06/02 02:04:21 deraadt Exp $ */
+/* $OpenBSD: msdosfs_lookup.c,v 1.20 2007/11/27 16:22:13 martynas Exp $ */
/* $NetBSD: msdosfs_lookup.c,v 1.34 1997/10/18 22:12:27 ws Exp $ */
/*-
@@ -981,7 +981,7 @@ removede(pdep, dep)
offset += sizeof(struct direntry);
while (1) {
/*
- * We are a bit agressive here in that we delete any Win95
+ * We are a bit aggressive here in that we delete any Win95
* entries preceding this entry, not just the ones we "own".
* Since these presumably aren't valid anyway,
* there should be no harm.
diff --git a/sys/net/if_strip.c b/sys/net/if_strip.c
index 7fc7024046f..ef50f71c949 100644
--- a/sys/net/if_strip.c
+++ b/sys/net/if_strip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_strip.c,v 1.32 2006/03/25 22:41:47 djm Exp $ */
+/* $OpenBSD: if_strip.c,v 1.33 2007/11/27 16:22:13 martynas Exp $ */
/* $NetBSD: if_strip.c,v 1.2.4.3 1996/08/03 00:58:32 jtc Exp $ */
/* from: NetBSD: if_sl.c,v 1.38 1996/02/13 22:00:23 christos Exp $ */
@@ -301,7 +301,7 @@ void strip_timeout(void *x);
/* Grace period for radio to answer probe, in seconds */
#define ST_PROBERESPONSE_INTERVAL 2
-/* Be less agressive about repeated resetting. */
+/* Be less aggressive about repeated resetting. */
#define STRIP_RESET_INTERVAL 5
/*
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index b6553126239..23f8d91a857 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.208 2007/09/01 18:49:28 henning Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.209 2007/11/27 16:22:13 martynas Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -1586,7 +1586,7 @@ trimthenstep6:
/*
* If we get an old ACK, there is probably packet
* reordering going on. Be conservative and reset
- * t_dupacks so that we are less agressive in
+ * t_dupacks so that we are less aggressive in
* doing a fast retransmit.
*/
if (th->th_ack != tp->snd_una) {
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c
index e79461119c4..eec85836c3f 100644
--- a/sys/netinet6/ip6_input.c
+++ b/sys/netinet6/ip6_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_input.c,v 1.78 2007/08/03 06:43:12 itojun Exp $ */
+/* $OpenBSD: ip6_input.c,v 1.79 2007/11/27 16:22:13 martynas Exp $ */
/* $KAME: ip6_input.c,v 1.188 2001/03/29 05:34:31 itojun Exp $ */
/*
@@ -327,7 +327,7 @@ ip6_input(m)
in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_discard);
in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_hdrerr);
icmp6_error(m, ICMP6_PARAM_PROB, ICMP6_PARAMPROB_OPTION, 0);
- /* m is allready freed */
+ /* m is already freed */
return;
}
diff --git a/sys/scsi/ss.c b/sys/scsi/ss.c
index 7e77a020bda..e3941c6ad87 100644
--- a/sys/scsi/ss.c
+++ b/sys/scsi/ss.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ss.c,v 1.59 2007/09/16 01:30:24 krw Exp $ */
+/* $OpenBSD: ss.c,v 1.60 2007/11/27 16:22:14 martynas Exp $ */
/* $NetBSD: ss.c,v 1.10 1996/05/05 19:52:55 christos Exp $ */
/*
@@ -461,7 +461,7 @@ bad:
/*
* close the device.. only called if we are the LAST
- * occurence of an open device
+ * occurrence of an open device
*/
int
ssclose(dev, flag, mode, p)
diff --git a/sys/scsi/st.c b/sys/scsi/st.c
index 7882ab3d2f9..8b42866d6ac 100644
--- a/sys/scsi/st.c
+++ b/sys/scsi/st.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: st.c,v 1.79 2007/11/22 03:57:07 krw Exp $ */
+/* $OpenBSD: st.c,v 1.80 2007/11/27 16:22:14 martynas Exp $ */
/* $NetBSD: st.c,v 1.71 1997/02/21 23:03:49 thorpej Exp $ */
/*
@@ -527,7 +527,7 @@ stopen(dev_t dev, int flags, int fmt, struct proc *p)
/*
* close the device.. only called if we are the LAST
- * occurence of an open device
+ * occurrence of an open device
*/
int
stclose(dev_t dev, int flags, int mode, struct proc *p)
diff --git a/sys/scsi/uk.c b/sys/scsi/uk.c
index 4129df89537..dbf36eb312b 100644
--- a/sys/scsi/uk.c
+++ b/sys/scsi/uk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uk.c,v 1.12 2006/11/28 16:56:50 dlg Exp $ */
+/* $OpenBSD: uk.c,v 1.13 2007/11/27 16:22:14 martynas Exp $ */
/* $NetBSD: uk.c,v 1.15 1996/03/17 00:59:57 thorpej Exp $ */
/*
@@ -138,7 +138,7 @@ ukopen(dev_t dev, int flag, int fmt, struct proc *p)
/*
* close the device.. only called if we are the LAST
- * occurence of an open device
+ * occurrence of an open device
*/
int
ukclose(dev_t dev, int flag, int fmt, struct proc *p)
diff --git a/sys/sys/socket.h b/sys/sys/socket.h
index c633b80ac7f..7c7401ee695 100644
--- a/sys/sys/socket.h
+++ b/sys/sys/socket.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: socket.h,v 1.54 2007/09/24 22:03:02 henning Exp $ */
+/* $OpenBSD: socket.h,v 1.55 2007/11/27 16:22:14 martynas Exp $ */
/* $NetBSD: socket.h,v 1.14 1996/02/09 18:25:36 christos Exp $ */
/*
@@ -157,7 +157,7 @@ struct sockaddr {
* For maximum portability, userland programmer would need to
* (1) make the code never touch ss_len portion (cast it into sockaddr and
* touch sa_len), or (2) add "-Dss_len=__ss_len" into CFLAGS to unify all
- * occurences (including header file) to __ss_len.
+ * occurrences (including header file) to __ss_len.
*/
struct sockaddr_storage {
u_int8_t ss_len; /* total length */
diff --git a/sys/ufs/ffs/ffs_balloc.c b/sys/ufs/ffs/ffs_balloc.c
index 0721bcbcd3c..2d6518c079c 100644
--- a/sys/ufs/ffs/ffs_balloc.c
+++ b/sys/ufs/ffs/ffs_balloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs_balloc.c,v 1.34 2007/06/01 18:54:27 pedro Exp $ */
+/* $OpenBSD: ffs_balloc.c,v 1.35 2007/11/27 16:22:14 martynas Exp $ */
/* $NetBSD: ffs_balloc.c,v 1.3 1996/02/09 22:22:21 christos Exp $ */
/*
@@ -394,7 +394,7 @@ fail:
* dependencies so that we do not leave them dangling. We have to sync
* it at the end so that the softdep 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
+ * not expected to be a common occurrence. The error return from fsync
* is ignored as we already have an error to return to the user.
*/
VOP_FSYNC(vp, p->p_ucred, MNT_WAIT, p);
@@ -804,7 +804,7 @@ fail:
* dependencies so that we do not leave them dangling. We have to sync
* it at the end so that the softdep 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
+ * not expected to be a common occurrence. The error return from fsync
* is ignored as we already have an error to return to the user.
*/
VOP_FSYNC(vp, p->p_ucred, MNT_WAIT, p);