diff options
Diffstat (limited to 'libfshelp')
-rw-r--r-- | libfshelp/fshelp.h | 4 | ||||
-rw-r--r-- | libfshelp/perms-checkdirmod.c | 2 |
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) |