summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2015-01-03 10:16:10 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-01-03 13:07:30 +0100
commit8f5e94f48e7668e3c5dcaa1cde1b8f591c05bb58 (patch)
tree4b72eccf92522c27116ea9825bae689972045a87
parent2a340dd3310d0f67a48d6057214e54416d173265 (diff)
lib*: Fix typos in comments (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
-rw-r--r--libpager/pager-attr.c2
-rw-r--r--libpager/pager.h2
-rw-r--r--libps/ps.h2
-rw-r--r--libshouldbeinlibc/ugids.c2
-rw-r--r--libstore/part.c2
-rw-r--r--libstore/remap.c2
-rw-r--r--libtreefs/treefs-hooks.h4
7 files changed, 8 insertions, 8 deletions
diff --git a/libpager/pager-attr.c b/libpager/pager-attr.c
index ad1560ea..cf16d9db 100644
--- a/libpager/pager-attr.c
+++ b/libpager/pager-attr.c
@@ -20,7 +20,7 @@
/* Change the attributes of the memory object underlying pager P.
Arguments MAY_CACHE and COPY_STRATEGY are as for
- memory_object_change_atributes. Wait for the kernel to report
+ memory_object_change_attributes. Wait for the kernel to report
completion if WAIT is set. */
void
pager_change_attributes (struct pager *p,
diff --git a/libpager/pager.h b/libpager/pager.h
index 29ec833a..fe342388 100644
--- a/libpager/pager.h
+++ b/libpager/pager.h
@@ -109,7 +109,7 @@ pager_offer_page (struct pager *pager,
/* Change the attributes of the memory object underlying pager PAGER.
Arguments MAY_CACHE and COPY_STRATEGY are as for
- memory_object_change_atributes. Wait for the kernel to report
+ memory_object_change_attributes. Wait for the kernel to report
completion if WAIT is set. */
void
pager_change_attributes (struct pager *pager,
diff --git a/libps/ps.h b/libps/ps.h
index 06af96bc..3ee142d0 100644
--- a/libps/ps.h
+++ b/libps/ps.h
@@ -824,7 +824,7 @@ void ps_fmt_free (struct ps_fmt *fmt);
error_t ps_fmt_clone (struct ps_fmt *fmt, struct ps_fmt **copy);
/* Write an appropriate header line for FMT, containing the titles of all its
- fields appropiately aligned with where the values would be printed, to
+ fields appropriately aligned with where the values would be printed, to
STREAM (without a trailing newline). If count is non-NULL, the total
number number of characters output is added to the integer it points to.
If any fatal error occurs, the error code is returned, otherwise 0. */
diff --git a/libshouldbeinlibc/ugids.c b/libshouldbeinlibc/ugids.c
index 07a11fe2..cb2631be 100644
--- a/libshouldbeinlibc/ugids.c
+++ b/libshouldbeinlibc/ugids.c
@@ -58,7 +58,7 @@ ugids_add_gid (struct ugids *ugids, gid_t gid, int avail)
}
/* Add UID to UGIDS, plus any gids to which that user belongs. If AVAIL is
- true, the are added to the avail gids instead of the effective ones. */
+ true, they are added to the avail gids instead of the effective ones. */
error_t
ugids_add_user (struct ugids *ugids, uid_t uid, int avail)
{
diff --git a/libstore/part.c b/libstore/part.c
index 60ef6c21..0ef2bd4b 100644
--- a/libstore/part.c
+++ b/libstore/part.c
@@ -33,7 +33,7 @@
/* Initialize a PedDevice using SOURCE. The SOURCE will NOT be destroyed;
the caller created it, it is the caller's responsilbility to free it
- after it calls ped_device_destory. SOURCE is not registered in Parted's
+ after it calls ped_device_destroy. SOURCE is not registered in Parted's
list of devices. */
PedDevice* ped_device_new_from_store (struct store *source);
diff --git a/libstore/remap.c b/libstore/remap.c
index 55ab51ac..de21812e 100644
--- a/libstore/remap.c
+++ b/libstore/remap.c
@@ -320,7 +320,7 @@ store_remap (struct store *source,
/* Use the class-specific remaping function. */
return (* source->class->remap) (source, runs, num_runs, store);
else
- /* Just replace SOURCE's runs-list by an appropiately translated RUNS. */
+ /* Just replace SOURCE's runs-list by an appropriately translated RUNS. */
{
struct store_run *xruns = 0;
size_t num_xruns = 0;
diff --git a/libtreefs/treefs-hooks.h b/libtreefs/treefs-hooks.h
index 3af4a546..6dc2f731 100644
--- a/libtreefs/treefs-hooks.h
+++ b/libtreefs/treefs-hooks.h
@@ -264,7 +264,7 @@ DNH(dir_init, error_t)
/* If NODE is a symlink, copies the contents into BUF, which should have at
least *LEN bytes available, and returns 0; if the symlink is too big,
E2BIG is returned. Either way, the actual length of the symlink is
- returned in *LEN (so if it's too big, you can allocate an appropiately
+ returned in *LEN (so if it's too big, you can allocate an appropriately
sized buffer and try again). If NODE is not a symlink, EINVAL is
returned. */
DNH(node_get_symlink, error_t, char *buf, int *len)
@@ -275,7 +275,7 @@ DNH(node_get_symlink, error_t, char *buf, int *len)
should have at least *LEN bytes available, and returns 0; if the string is
too big, E2BIG is returned. Either way, the actual length of the
translator string is returned in *LEN (so if it's too big, you can
- allocate an appropiately sized buffer and try again). If NODE has no
+ allocate an appropriately sized buffer and try again). If NODE has no
passive translator, EINVAL is returned. */
DNH(node_get_passive_trans, error_t, char *buf, int *len)
#define treefs_node_get_passive_trans(node, args...) \