[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/7] misc: Fix typos in comments (found by codespell)
From: |
Stefan Weil |
Subject: |
[PATCH 4/7] misc: Fix typos in comments (found by codespell) |
Date: |
Sat, 3 Jan 2015 10:16:09 +0100 |
Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
daemons/lmail.c | 2 +-
fatfs/fat.h | 2 +-
hurd/console.h | 2 +-
hurd/io.defs | 2 +-
mach-defpager/wiring.c | 2 +-
random/gnupg-random.c | 4 ++--
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/daemons/lmail.c b/daemons/lmail.c
index 23c7b49..963f5dc 100644
--- a/daemons/lmail.c
+++ b/daemons/lmail.c
@@ -354,7 +354,7 @@ deliver (int msg, char *msg_name, char *rcpt, int flags,
struct params *params)
fd = open (mbox, O_WRONLY|O_APPEND|O_CREAT|O_EXCL|O_NOLINK|O_EXLOCK,
S_IRUSR|S_IWUSR);
if (fd >= 0)
- /* Made a new mailbox! Set the owner and group appropiately. */
+ /* Made a new mailbox! Set the owner and group appropriately. */
{
if (fchown (fd, pw->pw_uid, pw->pw_gid) < 0)
{
diff --git a/fatfs/fat.h b/fatfs/fat.h
index 58b45c6..eac7015 100644
--- a/fatfs/fat.h
+++ b/fatfs/fat.h
@@ -32,7 +32,7 @@
Reserved
The reserved region consists of the boot sector, and with it the
- BIOS Paramter Block, which contains all necessary data about the
+ BIOS Parameter Block, which contains all necessary data about the
filesystem like sector size, number of clusters etc. It also
holds the filesystem info block.
diff --git a/hurd/console.h b/hurd/console.h
index baf0394..05177eb 100644
--- a/hurd/console.h
+++ b/hurd/console.h
@@ -90,7 +90,7 @@ struct cons_display
{
#define CONS_MAGIC 0x48555244 /* Hex for "HURD". */
uint32_t magic; /* CONS_MAGIC, use to detect
- endianess. */
+ endianness. */
#define CONS_VERSION_MAJ 0x0
#define CONS_VERSION_MAJ_SHIFT 16
#define CONS_VERSION_AGE 0x0
diff --git a/hurd/io.defs b/hurd/io.defs
index ba0b807..5bc399e 100644
--- a/hurd/io.defs
+++ b/hurd/io.defs
@@ -259,7 +259,7 @@ routine io_eofnotify (
io_object: io_t RPTLAST);
/* If the user wants to write past the prenotify size, a call needs to
- be made to io_prenotify giving the paramters of the write. Upon
+ be made to io_prenotify giving the parameters of the write. Upon
return from io_prenotify, there is no guarantee that the prenotify
size will now permit the write, so it should be re-checked. The
routine should be called while the user has the conch. The user
diff --git a/mach-defpager/wiring.c b/mach-defpager/wiring.c
index 883770f..a0a608d 100644
--- a/mach-defpager/wiring.c
+++ b/mach-defpager/wiring.c
@@ -92,7 +92,7 @@ wire_all_memory()
if (priv_host_port == MACH_PORT_NULL)
return;
- /* iterate thru all regions, wiring */
+ /* iterate through all regions, wiring */
address = 0;
while (
(kr = vm_region(this_task, &address,
diff --git a/random/gnupg-random.c b/random/gnupg-random.c
index 8f30862..42391a3 100644
--- a/random/gnupg-random.c
+++ b/random/gnupg-random.c
@@ -592,7 +592,7 @@ read_pool( byte *buffer, size_t length, int level )
mix_pool(rndpool); rndstats.mixrnd++;
mix_pool(keypool); rndstats.mixkey++;
/* read the required data
- * we use a readpoiter to read from a different postion each
+ * we use a readpoiter to read from a different position each
* time */
#ifdef __HURD__
if (level == 2 && length > pool_balance)
@@ -722,7 +722,7 @@ fast_random_poll()
}
#endif
#endif
- /* time and clock are availabe on all systems - so
+ /* time and clock are available on all systems - so
* we better do it just in case one of the above functions
* didn't work */
{ time_t x = time(NULL);
--
2.1.4
- [PATCH 0/7] Fix typos found by codespell, Stefan Weil, 2015/01/03
- [PATCH 5/7] lib*: Fix typos in comments (found by codespell), Stefan Weil, 2015/01/03
- [PATCH 4/7] misc: Fix typos in comments (found by codespell),
Stefan Weil <=
- [PATCH 3/7] console: Fix typos in comments, Stefan Weil, 2015/01/03
- [PATCH 6/7] libshouldbeinlibc: Fix typo in local variable name, Stefan Weil, 2015/01/03
- [PATCH 1/7] aclocal.m4, configure.ac: Fix typos and grammar in comment (found by codespell), Stefan Weil, 2015/01/03
- [PATCH 7/7] procfs: Fix typos in comments (found by codespell), Stefan Weil, 2015/01/03
- [PATCH 2/7] console-client: Fix typos in comments, Stefan Weil, 2015/01/03
- Re: [PATCH 0/7] Fix typos found by codespell, Samuel Thibault, 2015/01/03