From 34bf0d2d9e56a77a19b2de6473b7076716921e62 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Wed, 16 Apr 2014 18:34:59 +0200 Subject: [PATCH] Fix a number of typos in messages and manual pages. --- lib/libtcplay/tcplay.3 | 2 +- lib/libu4bhid/usbhid.3 | 2 +- lib/libusb/libusb.3 | 2 +- lib/libutil/pidfile.3 | 2 +- sbin/tcplay/tcplay.8 | 6 +++--- share/man/man4/mxge.4 | 2 +- share/man/man7/hier.7 | 2 +- sys/bus/u4b/controller/xhci.c | 2 +- sys/contrib/dev/acpica/source/common/ahpredef.c | 2 +- sys/contrib/dev/ath/ath_hal/ar9300/ar9300_ani.c | 2 +- sys/contrib/dev/ath/ath_hal/ar9300/ar9300_eeprom.c | 2 +- sys/dev/netif/iwn/if_iwn.c | 2 +- usr.bin/units/units.c | 2 +- usr.sbin/sysvipcd/shmd.c | 2 +- usr.sbin/sysvipcd/sysvipcd.c | 2 +- 15 files changed, 17 insertions(+), 17 deletions(-) diff --git a/lib/libtcplay/tcplay.3 b/lib/libtcplay/tcplay.3 index f8294a74a9..dfe4b3bd55 100644 --- a/lib/libtcplay/tcplay.3 +++ b/lib/libtcplay/tcplay.3 @@ -536,7 +536,7 @@ to indicate that the operation completed successfully, or to indicate that the operation is not implemented , or .Dv TC_ERR -to indicate that any other error occured. +to indicate that any other error occurred. .Pp The .Fn tc_api_task_get_error diff --git a/lib/libu4bhid/usbhid.3 b/lib/libu4bhid/usbhid.3 index 951fc14712..ba91edb84f 100644 --- a/lib/libu4bhid/usbhid.3 +++ b/lib/libu4bhid/usbhid.3 @@ -95,7 +95,7 @@ The .Nm library provides routines to extract data from USB Human Interface Devices. .Ss Introduction -USB HID devices send and receive data layed out in a device dependent way. +USB HID devices send and receive data laid out in a device dependent way. The .Nm library contains routines to extract the diff --git a/lib/libusb/libusb.3 b/lib/libusb/libusb.3 index b970c44f6f..a8a37e0f25 100644 --- a/lib/libusb/libusb.3 +++ b/lib/libusb/libusb.3 @@ -547,7 +547,7 @@ that libusb uses as an event source. .Pp .Ft const struct libusb_pollfd ** .Fn libusb_get_pollfds "libusb_context *ctx" -Retrive a list of file descriptors that should be polled by your main loop as +Retrieve a list of file descriptors that should be polled by your main loop as libusb event sources. Returns a NULL-terminated list on success or NULL on failure. .Sh LIBUSB VERSION 0.1 COMPATIBILITY diff --git a/lib/libutil/pidfile.3 b/lib/libutil/pidfile.3 index 639543f20f..08a9c33245 100644 --- a/lib/libutil/pidfile.3 +++ b/lib/libutil/pidfile.3 @@ -151,7 +151,7 @@ if (pfh == NULL) { /* If we cannot create pidfile from other reasons, only warn. */ warn("Cannot open or create pidfile"); /* - * Eventhough pfh is NULL we can continue, as the other pidfile_* + * Even though pfh is NULL we can continue, as the other pidfile_* * function can handle such situation by doing nothing except setting * errno to EDOOFUS. */ diff --git a/sbin/tcplay/tcplay.8 b/sbin/tcplay/tcplay.8 index 03dba1f44c..376b9aeb56 100644 --- a/sbin/tcplay/tcplay.8 +++ b/sbin/tcplay/tcplay.8 @@ -340,7 +340,7 @@ volume. Which volume is accessed solely depends on the passphrase and keyfile(s) used. If the passphrase and keyfiles for the outer volume are specified, -no information about the existance of the hidden volume is exposed. +no information about the existence of the hidden volume is exposed. Without knowledge of the passphrase and keyfile(s) of the hidden volume its existence remains unexposed. The hidden volume can be protected when mapping the outer volume by @@ -433,7 +433,7 @@ Or alternatively: .Nm Fl -unmap Ns = Ns Cm truecrypt2 .Ed .Pp -A hidden volume whose existance can be plausibly denied and its outer volume +A hidden volume whose existence can be plausibly denied and its outer volume can for example be created with .Bd -ragged -offset indent .Nm Fl -create @@ -459,7 +459,7 @@ and options. Which volume is later accessed depends only on which passphrase and keyfile(s) are being used, -so that the existance of the hidden volume remains unknown without knowledge +so that the existence of the hidden volume remains unknown without knowledge of the passphrase and keyfile it is protected by since it is located within the outer volume. To map the outer volume without potentially damaging the hidden volume, diff --git a/share/man/man4/mxge.4 b/share/man/man4/mxge.4 index a4b0e29aad..c6edc6123a 100644 --- a/share/man/man4/mxge.4 +++ b/share/man/man4/mxge.4 @@ -57,7 +57,7 @@ The driver provides support for PCI Express 10 Gigabit Ethernet adapters based on the Myricom LANai Z8E chip. The driver supports Transmit/Receive checksum offload, -TCP Segementation Offload (TSO), +TCP Segmentation Offload (TSO), multiple reception queues, multiple tranmission queues and multiple vector MSI-X. diff --git a/share/man/man7/hier.7 b/share/man/man7/hier.7 index df61740968..89f329e24e 100644 --- a/share/man/man7/hier.7 +++ b/share/man/man7/hier.7 @@ -59,7 +59,7 @@ files related to compatibility layers .Pp .Bl -tag -width ".Pa ndis/" -compact .It Pa ndis/ -firmwares for +firmware for .Xr ndis 4 drivers .El diff --git a/sys/bus/u4b/controller/xhci.c b/sys/bus/u4b/controller/xhci.c index b076ebcf89..d5df2ee3ca 100644 --- a/sys/bus/u4b/controller/xhci.c +++ b/sys/bus/u4b/controller/xhci.c @@ -304,7 +304,7 @@ xhci_reset_command_queue_locked(struct xhci_softc *sc) /* check if command ring is still running */ temp = XREAD4(sc, oper, XHCI_CRCR_LO); if (temp & XHCI_CRCR_LO_CRR) { - DPRINTF("Comand ring still running\n"); + DPRINTF("Command ring still running\n"); return (USB_ERR_IOERROR); } } diff --git a/sys/contrib/dev/acpica/source/common/ahpredef.c b/sys/contrib/dev/acpica/source/common/ahpredef.c index b1d393f6a9..119632c8fa 100644 --- a/sys/contrib/dev/acpica/source/common/ahpredef.c +++ b/sys/contrib/dev/acpica/source/common/ahpredef.c @@ -206,7 +206,7 @@ const AH_PREDEFINED_NAME AslPredefinedInfo[] = AH_PREDEF ("_PMD", "Power Metered Devices", "Returns a list of devices that are measured by the power meter device"), AH_PREDEF ("_PMM", "Power Meter Measurement", "Returns the current value of the Power Meter"), AH_PREDEF ("_POL", "Polarity", "Interrupt polarity, Resource Descriptor field"), - AH_PREDEF ("_PPC", "Performance Present Capabilites", "Returns a list of the performance states currently supported by the platform"), + AH_PREDEF ("_PPC", "Performance Present Capabilities", "Returns a list of the performance states currently supported by the platform"), AH_PREDEF ("_PPE", "Polling for Platform Error", "Returns the polling interval to retrieve Corrected Platform Error information"), AH_PREDEF ("_PPI", "Pin Configuration", "Resource Descriptor field"), AH_PREDEF ("_PR", "Processor", "Predefined scope for processor objects"), diff --git a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_ani.c b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_ani.c index b07ca7182d..7bfb2c583f 100644 --- a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_ani.c +++ b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_ani.c @@ -1201,7 +1201,7 @@ ar9300_ani_ar_poll(struct ath_hal *ah, const HAL_NODE_STATS *stats, } if (old_phy_noise_spur != ani_state->phy_noise_spur) { HALDEBUG(ah, HAL_DEBUG_ANI, - "%s: enviroment change from %d to %d\n", + "%s: environment change from %d to %d\n", __func__, old_phy_noise_spur, ani_state->phy_noise_spur); } } diff --git a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_eeprom.c b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_eeprom.c index ba7777e307..97c5193766 100644 --- a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_eeprom.c +++ b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_eeprom.c @@ -3789,7 +3789,7 @@ ar9300_eeprom_restore_internal_address(struct ath_hal *ah, dptr = ar9300_eeprom_struct_default_find_by_id(reference); if (dptr == 0) { HALDEBUG(ah, HAL_DEBUG_EEPROM, - "%s: cant find reference eeprom struct %d\n", + "%s: can't find reference eeprom struct %d\n", __func__, reference); break; } diff --git a/sys/dev/netif/iwn/if_iwn.c b/sys/dev/netif/iwn/if_iwn.c index 7eba8fbb89..d5266a0e36 100644 --- a/sys/dev/netif/iwn/if_iwn.c +++ b/sys/dev/netif/iwn/if_iwn.c @@ -7730,7 +7730,7 @@ iwn_read_firmware_tlv(struct iwn_softc *sc, struct iwn_fw_info *fw, case IWN_FW_TLV_WOWLAN_INST: case IWN_FW_TLV_WOWLAN_DATA: DPRINTF(sc, IWN_DEBUG_RESET, - "TLV type %d reconized but not handled\n", + "TLV type %d recognized but not handled\n", le16toh(tlv->type)); break; default: diff --git a/usr.bin/units/units.c b/usr.bin/units/units.c index 56c42cfeb6..9b44585c54 100644 --- a/usr.bin/units/units.c +++ b/usr.bin/units/units.c @@ -753,7 +753,7 @@ main(int argc, char **argv) el_source(el, NULL); history(inhistory, &ev, H_SETSIZE, 800); if (inhistory == 0) - err(1, "Could not initalize history"); + err(1, "Could not initialize history"); if (optind == argc - 2) { havestr = argv[optind]; diff --git a/usr.sbin/sysvipcd/shmd.c b/usr.sbin/sysvipcd/shmd.c index 9bb8c1efb7..62301dd131 100644 --- a/usr.sbin/sysvipcd/shmd.c +++ b/usr.sbin/sysvipcd/shmd.c @@ -128,7 +128,7 @@ create_sysv_file(struct shmget_msg *msg, size_t size, sems = (struct semid_pool*)addr; nsems = (msg->size - sizeof(struct semid_pool)) / sizeof(struct sem); - sysvd_print("alocate %d sems\n", nsems); + sysvd_print("allocate %d sems\n", nsems); /* Init lock. */ #ifdef SYSV_RWLOCK diff --git a/usr.sbin/sysvipcd/sysvipcd.c b/usr.sbin/sysvipcd/sysvipcd.c index 326f2a1f3a..19620d2263 100644 --- a/usr.sbin/sysvipcd/sysvipcd.c +++ b/usr.sbin/sysvipcd/sysvipcd.c @@ -165,7 +165,7 @@ daemon_add_client(void) cl->pid = cred.cmcred_pid; sysvd_print("total = %d...another one will be added\n", nr_poll_fds); - sysvd_print("pid = %d conected\n", cl->pid); + sysvd_print("pid = %d connected\n", cl->pid); /* Verify if the client is already connected using the hashtable. */ if (_hash_lookup(clientshash, cl->pid)) { -- 2.41.0