summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2015-01-03 10:16:09 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-01-03 13:10:08 +0100
commitbd1d3a48415cb6a7c24c45a899ce38b3ce34956d (patch)
treea3cf6825abd20c0825cddd972ba3cc7af6b7aead
parent695e606f7fd8940c2b260670a89ae2a6cc82b9f4 (diff)
misc: Fix typos in comments (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
-rw-r--r--daemons/lmail.c2
-rw-r--r--fatfs/fat.h2
-rw-r--r--hurd/console.h2
-rw-r--r--hurd/io.defs2
-rw-r--r--mach-defpager/wiring.c2
-rw-r--r--random/gnupg-random.c4
6 files changed, 7 insertions, 7 deletions
diff --git a/daemons/lmail.c b/daemons/lmail.c
index 23c7b497..963f5dcd 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 58b45c63..eac7015a 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 baf03942..05177eb2 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 ba0b8077..5bc399ed 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 883770f0..a0a608d6 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 8f308621..42391a37 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);