summaryrefslogtreecommitdiffstats
path: root/api/examples/glfsxmp.c
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2018-07-16 17:03:17 +0300
committerAmar Tumballi <amarts@redhat.com>2018-07-22 14:40:16 +0000
commit621138ce763eda8270d0a4f6d7209fd50ada8787 (patch)
tree7299759993f6e9f7f34dad95fc8d8cd6ffc1b2fd /api/examples/glfsxmp.c
parentc0e76377d0fc47aa66f35ea70a4793731ebbd40c (diff)
All: run codespell on the code and fix issues.
Please review, it's not always just the comments that were fixed. I've had to revert of course all calls to creat() that were changed to create() ... Only compile-tested! Change-Id: I7d02e82d9766e272a7fd9cc68e51901d69e5aab5 updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'api/examples/glfsxmp.c')
-rw-r--r--api/examples/glfsxmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/examples/glfsxmp.c b/api/examples/glfsxmp.c
index a8e2cc93381..9bfb1d2a81f 100644
--- a/api/examples/glfsxmp.c
+++ b/api/examples/glfsxmp.c
@@ -1282,7 +1282,7 @@ test_handleops (int argc, char *argv[])
/* extract handle and create from handle test */
printf ("glfs_h_extract_handle and glfs_h_create_from_handle tests: In Progress\n");
- /* TODO: Change the lookup to creat below for a GIFD recovery falure,
+ /* TODO: Change the lookup to create below for a GIFD recovery failure,
* that needs to be fixed */
leaf = glfs_h_lookupat (fs, parent, leaf_name1, &sb, 0);
if (leaf == NULL) {
@@ -1417,7 +1417,7 @@ test_handleops (int argc, char *argv[])
}
peek_stat (&sb);
- /* TODO: creat op on a FIFO node hangs, need to check and fix
+ /* TODO: create op on a FIFO node hangs, need to check and fix
tmp = glfs_h_creat (fs, parent, newnod_name, O_CREAT, 0644, &sb);
if (tmp != NULL || errno != EINVAL) {
fprintf (stderr, "glfs_h_creat: node create, tmp = (%p), errno = %s\n",