From 8fc45048f3408c78b6a7ef95767bc573792aa28f Mon Sep 17 00:00:00 2001 From: miod Date: Wed, 10 Jun 2015 20:50:05 +0000 Subject: [PATCH] Typos: equalivant, fucntion, libary. --- libexec/ld.so/ldconfig/library.c | 4 ++-- libexec/ld.so/library_subr.c | 12 ++++++------ sys/dev/usb/if_wi_usb.c | 4 ++-- usr.sbin/ldpd/lde_lib.c | 4 ++-- usr.sbin/npppd/npppd/npppd_radius.c | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/libexec/ld.so/ldconfig/library.c b/libexec/ld.so/ldconfig/library.c index e42c0c7def1..e3747388fd2 100644 --- a/libexec/ld.so/ldconfig/library.c +++ b/libexec/ld.so/ldconfig/library.c @@ -1,4 +1,4 @@ -/* $OpenBSD: library.c,v 1.8 2015/01/19 02:44:53 deraadt Exp $ */ +/* $OpenBSD: library.c,v 1.9 2015/06/10 20:50:05 miod Exp $ */ /* * Copyright (c) 2006 Dale Rahn * @@ -265,7 +265,7 @@ elf_tryload_shlib(const char *libname) /* * elf_match_file() * - * This fucntion determines if a given name matches what is specified + * This function determines if a given name matches what is specified * in a struct sod. The major must match exactly, and the minor must * be same or larger. * diff --git a/libexec/ld.so/library_subr.c b/libexec/ld.so/library_subr.c index 3d2a3dcd403..be90aee3f77 100644 --- a/libexec/ld.so/library_subr.c +++ b/libexec/ld.so/library_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: library_subr.c,v 1.42 2015/01/16 16:18:07 deraadt Exp $ */ +/* $OpenBSD: library_subr.c,v 1.43 2015/06/10 20:50:05 miod Exp $ */ /* * Copyright (c) 2002 Dale Rahn @@ -49,7 +49,7 @@ struct dlochld _dlopened_child_list; /* * _dl_match_file() * - * This fucntion determines if a given name matches what is specified + * This function determines if a given name matches what is specified * in a struct sod. The major must match exactly, and the minor must * be same or larger. * @@ -94,7 +94,7 @@ _dl_match_file(struct sod *sodp, const char *name, int namelen) /* * _dl_cmp_sod() * - * This fucntion compares sod structs. The major must match exactly, + * This function compares sod structs. The major must match exactly, * and the minor must be same or larger. * * sodp is updated with the minor if this matches. @@ -288,12 +288,12 @@ _dl_find_loaded_shlib(const char *req_name, struct sod req_sod, int flags) * this will find largest minor version in path provided * try the LD_LIBRARY_PATH specification (if present) * search hints for match in LD_LIBRARY_PATH dirs - * this will only match specific libary version. + * this will only match specific library version. * search LD_LIBRARY_PATH dirs for match. * this will find largest minor version in first dir found. * check DT_RPATH paths, (if present) * search hints for match in DT_RPATH dirs - * this will only match specific libary version. + * this will only match specific library version. * search DT_RPATH dirs for match. * this will find largest minor version in first dir found. * last look in default search directory, either as specified @@ -546,7 +546,7 @@ _dl_cache_grpsym_list(elf_object_t *object) /* * grpsym_list is an ordered list of all child libs of the - * _dl_loading_object with no dups. The order is equalivant + * _dl_loading_object with no dups. The order is equivalent * to a breath-first traversal of the child list without dups. */ diff --git a/sys/dev/usb/if_wi_usb.c b/sys/dev/usb/if_wi_usb.c index bf6a2e36936..32bff94fc6b 100644 --- a/sys/dev/usb/if_wi_usb.c +++ b/sys/dev/usb/if_wi_usb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wi_usb.c,v 1.64 2014/11/18 02:37:30 tedu Exp $ */ +/* $OpenBSD: if_wi_usb.c,v 1.65 2015/06/10 20:50:05 miod Exp $ */ /* * Copyright (c) 2003 Dale Rahn. All rights reserved. @@ -1741,7 +1741,7 @@ wi_watchdog_usb(struct ifnet *ifp) /* * ioctl will always be called from a user context, * therefore it is possible to sleep in the calling context - * acquire the lock and call the real ioctl fucntion directly + * acquire the lock and call the real ioctl function directly */ int wi_ioctl_usb(struct ifnet *ifp, u_long command, caddr_t data) diff --git a/usr.sbin/ldpd/lde_lib.c b/usr.sbin/ldpd/lde_lib.c index 736cd12486c..613bbecd1f0 100644 --- a/usr.sbin/ldpd/lde_lib.c +++ b/usr.sbin/ldpd/lde_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lde_lib.c,v 1.32 2015/04/04 15:15:44 renato Exp $ */ +/* $OpenBSD: lde_lib.c,v 1.33 2015/06/10 20:50:05 miod Exp $ */ /* * Copyright (c) 2009 Michele Marchetto @@ -54,7 +54,7 @@ extern struct ldpd_conf *ldeconf; struct fec_tree rt = RB_INITIALIZER(&rt); -/* FEC tree fucntions */ +/* FEC tree functions */ void fec_init(struct fec_tree *fh) { diff --git a/usr.sbin/npppd/npppd/npppd_radius.c b/usr.sbin/npppd/npppd/npppd_radius.c index dd9c303c959..cb80e948550 100644 --- a/usr.sbin/npppd/npppd/npppd_radius.c +++ b/usr.sbin/npppd/npppd/npppd_radius.c @@ -1,4 +1,4 @@ -/* $Id: npppd_radius.c,v 1.6 2014/03/22 04:21:04 yasuoka Exp $ */ +/* $Id: npppd_radius.c,v 1.7 2015/06/10 20:50:05 miod Exp $ */ /*- * Copyright (c) 2009 Internet Initiative Japan Inc. * All rights reserved. @@ -64,7 +64,7 @@ static int radius_acct_request(npppd *, npppd_ppp *, int ); static void npppd_ppp_radius_acct_reqcb(void *, RADIUS_PACKET *, int, RADIUS_REQUEST_CTX); /*********************************************************************** - * RADIUS common fucntions + * RADIUS common functions ***********************************************************************/ /** * Retribute Framed-IP-Address and Framed-IP-Netmask attribute of from -- 2.20.1