summaryrefslogtreecommitdiff
path: root/libfshelp
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2011-08-15 22:10:09 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-20 18:36:33 +0200
commitc0eaf0fad88f15c843098a43ca2cadbf009ce094 (patch)
tree7b129c5055ded1aa400d34409d64bbab363b3e9e /libfshelp
parent5a3976828225947d333ff2326d04f8b20e48e072 (diff)
fix common misspellings
* Fix spelling with codespell[1] and manually review it. [1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
Diffstat (limited to 'libfshelp')
-rw-r--r--libfshelp/fshelp.h4
-rw-r--r--libfshelp/perms-checkdirmod.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/libfshelp/fshelp.h b/libfshelp/fshelp.h
index 5c43c54c..9f4fa677 100644
--- a/libfshelp/fshelp.h
+++ b/libfshelp/fshelp.h
@@ -38,7 +38,7 @@
or the ports library. */
/* A callback used by the translator starting functions, which should be a
- function that given some open flags, opens the appropiate file, and
+ function that given some open flags, opens the appropriate file, and
returns the node port. */
typedef error_t (*fshelp_open_fn_t) (int flags,
file_t *node,
@@ -253,7 +253,7 @@ error_t fshelp_access (io_statbuf_t *st, int op, struct iouser *user);
/* Check to see whether USER is allowed to modify DIR with respect to
existing file ST. (If there is no existing file, pass 0 for ST.)
- If the access is permissable return 0; otherwise return an
+ If the access is permissible return 0; otherwise return an
appropriate error code. */
error_t fshelp_checkdirmod (io_statbuf_t *dir, io_statbuf_t *st,
struct iouser *user);
diff --git a/libfshelp/perms-checkdirmod.c b/libfshelp/perms-checkdirmod.c
index db4b2e43..823c9f63 100644
--- a/libfshelp/perms-checkdirmod.c
+++ b/libfshelp/perms-checkdirmod.c
@@ -23,7 +23,7 @@
/* Check to see whether USER is allowed to modify DIR with respect to
existing file ST. (If there is no existing file, pass 0 for ST.)
- If the access is permissable return 0; otherwise return an
+ If the access is permissible return 0; otherwise return an
appropriate error code. */
error_t
fshelp_checkdirmod (struct stat *dir, struct stat *st, struct iouser *user)