mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
typos; ok jmc@
sys/dev/pci/pciide.c from naddy@
This commit is contained in:
parent
40f5ab9e4f
commit
80adcad897
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: chio.c,v 1.21 2007/10/16 20:19:26 sobrado Exp $ */
|
||||
/* $OpenBSD: chio.c,v 1.22 2007/11/27 16:22:12 martynas Exp $ */
|
||||
/* $NetBSD: chio.c,v 1.1.1.1 1996/04/03 00:34:38 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
@ -621,7 +621,7 @@ do_status(char *cname, int argc, char *argv[])
|
||||
* operation. If the drive is not accessible, we attempt
|
||||
* to unmount the tape in it before moving to avoid
|
||||
* errors in "disconnected" type pickers where the drive
|
||||
* is on a seperate target from the changer.
|
||||
* is on a separate target from the changer.
|
||||
*/
|
||||
static void
|
||||
check_source_drive(int unit)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: memrchr.c,v 1.1 2007/09/03 14:36:40 millert Exp $ */
|
||||
/* $OpenBSD: memrchr.c,v 1.2 2007/11/27 16:22:12 martynas Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Todd C. Miller <Todd.Miller@courtesan.com>
|
||||
@ -20,7 +20,7 @@
|
||||
|
||||
/*
|
||||
* Reverse memchr()
|
||||
* Find the last occurence of 'c' in the buffer 's' of size 'n'.
|
||||
* Find the last occurrence of 'c' in the buffer 's' of size 'n'.
|
||||
*/
|
||||
void *
|
||||
memrchr(const void *s, int c, size_t n)
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $OpenBSD: t11.1,v 1.1 2003/07/21 20:16:21 otto Exp $
|
||||
.\" $OpenBSD: t11.1,v 1.2 2007/11/27 16:22:12 martynas Exp $
|
||||
.\" $NetBSD: ed.1,v 1.13 1995/03/21 09:04:38 cgd Exp $
|
||||
.\"
|
||||
.TH ED 1 "21 May 1993"
|
||||
@ -49,7 +49,7 @@ A typical command might look like:
|
||||
,s/\fIold\fR/\fInew\fR/g
|
||||
.RE
|
||||
.sp
|
||||
which replaces all occurences of the string
|
||||
which replaces all occurrences of the string
|
||||
.I old
|
||||
with
|
||||
.IR new .
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: pfctl.c,v 1.271 2007/10/24 13:07:38 wilfried Exp $ */
|
||||
/* $OpenBSD: pfctl.c,v 1.272 2007/11/27 16:22:13 martynas Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001 Daniel Hartmeier
|
||||
@ -1549,7 +1549,7 @@ pfctl_load_options(struct pfctl *pf)
|
||||
}
|
||||
|
||||
/*
|
||||
* If we've set the limit, but havn't explicitly set adaptive
|
||||
* If we've set the limit, but haven't explicitly set adaptive
|
||||
* timeouts, do it now with a start of 60% and end of 120%.
|
||||
*/
|
||||
if (pf->limit_set[PF_LIMIT_STATES] &&
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: pfctl_optimize.c,v 1.13 2006/10/31 14:17:45 mcbride Exp $ */
|
||||
/* $OpenBSD: pfctl_optimize.c,v 1.14 2007/11/27 16:22:13 martynas Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2004 Mike Frantzen <frantzen@openbsd.org>
|
||||
@ -395,7 +395,7 @@ optimize_superblock(struct pfctl *pf, struct superblock *block)
|
||||
* out rules.
|
||||
*/
|
||||
|
||||
/* shortcut. there will be alot of 1-rule superblocks */
|
||||
/* shortcut. there will be a lot of 1-rule superblocks */
|
||||
if (!TAILQ_NEXT(TAILQ_FIRST(&block->sb_rules), por_entry))
|
||||
return (0);
|
||||
|
||||
@ -1417,7 +1417,7 @@ superblock_inclusive(struct superblock *block, struct pf_opt_rule *por)
|
||||
return (0);
|
||||
|
||||
/*
|
||||
* Have to handle interface groups seperately. Consider the following
|
||||
* Have to handle interface groups separately. Consider the following
|
||||
* rules:
|
||||
* block on EXTIFS to any port 22
|
||||
* pass on em0 to any port 22
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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);
|
||||
|
@ -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)
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
*/
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
||||
/*
|
||||
|
@ -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) {
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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 */
|
||||
|
@ -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);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: lexi.c,v 1.13 2007/09/02 15:19:32 deraadt Exp $ */
|
||||
/* $OpenBSD: lexi.c,v 1.14 2007/11/27 16:22:14 martynas Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1980, 1993
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
#ifndef lint
|
||||
/*static char sccsid[] = "@(#)lexi.c 8.1 (Berkeley) 6/6/93";*/
|
||||
static char rcsid[] = "$OpenBSD: lexi.c,v 1.13 2007/09/02 15:19:32 deraadt Exp $";
|
||||
static char rcsid[] = "$OpenBSD: lexi.c,v 1.14 2007/11/27 16:22:14 martynas Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*
|
||||
@ -228,7 +228,7 @@ lexi(void)
|
||||
ps.last_u_d = true;
|
||||
return (decl);
|
||||
}
|
||||
ps.last_u_d = false; /* Operator after indentifier is binary */
|
||||
ps.last_u_d = false; /* Operator after identifier is binary */
|
||||
last_code = ident; /* Remember that this is the code we will
|
||||
* return */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: fileio.c,v 1.80 2006/12/24 01:20:53 kjell Exp $ */
|
||||
/* $OpenBSD: fileio.c,v 1.81 2007/11/27 16:22:14 martynas Exp $ */
|
||||
|
||||
/* This file is in the public domain. */
|
||||
|
||||
@ -237,7 +237,7 @@ fbackupfile(const char *fn)
|
||||
/*
|
||||
* Convert "fn" to a canonicalized absolute filename, replacing
|
||||
* a leading ~/ with the user's home dir, following symlinks, and
|
||||
* and remove all occurences of /./ and /../
|
||||
* and remove all occurrences of /./ and /../
|
||||
*/
|
||||
char *
|
||||
adjustname(const char *fn, int slashslash)
|
||||
|
@ -666,7 +666,7 @@ char *
|
||||
/* paste values together */
|
||||
for (p = v; p && *p; p++) {
|
||||
if (p != v && sep != NULL)
|
||||
ncat(&b, &sz, sep); /* append seperator */
|
||||
ncat(&b, &sz, sep); /* append separator */
|
||||
ncat(&b, &sz, *p); /* append value */
|
||||
}
|
||||
|
||||
|
@ -27,7 +27,7 @@ __unused static const char rcsid[] = "$Sudo: memrchr.c,v 1.1.2.2 2007/06/19 21:0
|
||||
|
||||
/*
|
||||
* Reverse memchr()
|
||||
* Find the last occurence of 'c' in the buffer 's' of size 'n'.
|
||||
* Find the last occurrence of 'c' in the buffer 's' of size 'n'.
|
||||
*/
|
||||
VOID *
|
||||
memrchr(s, c, n)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: decl.c,v 1.23 2006/05/29 20:47:22 cloder Exp $ */
|
||||
/* $OpenBSD: decl.c,v 1.24 2007/11/27 16:22:14 martynas Exp $ */
|
||||
/* $NetBSD: decl.c,v 1.11 1995/10/02 17:34:16 jpo Exp $ */
|
||||
|
||||
/*
|
||||
@ -33,7 +33,7 @@
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$OpenBSD: decl.c,v 1.23 2006/05/29 20:47:22 cloder Exp $";
|
||||
static char rcsid[] = "$OpenBSD: decl.c,v 1.24 2007/11/27 16:22:14 martynas Exp $";
|
||||
#endif
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -2889,7 +2889,7 @@ chktusg(sym_t *sym)
|
||||
if (!incompl(sym->s_type))
|
||||
return;
|
||||
|
||||
/* complain alwasy about incomplet tags declared inside blocks */
|
||||
/* complain always about incomplete tags declared inside blocks */
|
||||
if (!zflag || dcs->d_ctx != EXTERN)
|
||||
return;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: map.c,v 1.8 2003/06/02 23:36:51 millert Exp $ */
|
||||
/* $OpenBSD: map.c,v 1.9 2007/11/27 16:22:14 martynas Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 Jan-Simon Pendry
|
||||
@ -36,7 +36,7 @@
|
||||
|
||||
#ifndef lint
|
||||
/*static char sccsid[] = "from: @(#)map.c 8.1 (Berkeley) 6/6/93";*/
|
||||
static char *rcsid = "$OpenBSD: map.c,v 1.8 2003/06/02 23:36:51 millert Exp $";
|
||||
static char *rcsid = "$OpenBSD: map.c,v 1.9 2007/11/27 16:22:14 martynas Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
#include "am.h"
|
||||
@ -310,7 +310,7 @@ mk_fattr(am_node *mp, int vntype)
|
||||
void
|
||||
init_map(am_node *mp, char *dir)
|
||||
{
|
||||
/* mp->am_mapno initalised by exported_ap_alloc */
|
||||
/* mp->am_mapno initialized by exported_ap_alloc */
|
||||
mp->am_mnt = new_mntfs();
|
||||
mp->am_name = strdup(dir);
|
||||
mp->am_path = strdup(dir);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: privsep.c,v 1.25 2006/04/22 19:26:05 moritz Exp $ */
|
||||
/* $OpenBSD: privsep.c,v 1.26 2007/11/27 16:22:14 martynas Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2003 Can Erkin Acar
|
||||
@ -514,7 +514,7 @@ impl_localtime(int fd)
|
||||
|
||||
must_read(fd, &t, sizeof(time_t));
|
||||
|
||||
/* this must be done seperately, since they apparently use the
|
||||
/* this must be done separately, since they apparently use the
|
||||
* same local buffer */
|
||||
if ((lt = localtime(&t)) == NULL)
|
||||
errx(1, "localtime()");
|
||||
|
Loading…
Reference in New Issue
Block a user