summaryrefslogtreecommitdiffstats
path: root/tests/bugs
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 /tests/bugs
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 'tests/bugs')
-rw-r--r--tests/bugs/ec/bug-1161886.c2
-rw-r--r--tests/bugs/shard/bug-shard-discard.c2
-rw-r--r--tests/bugs/shard/bug-shard-zerofill.c2
-rw-r--r--tests/bugs/shard/shard-fallocate.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/bugs/ec/bug-1161886.c b/tests/bugs/ec/bug-1161886.c
index e8093e48a7a..1faae831898 100644
--- a/tests/bugs/ec/bug-1161886.c
+++ b/tests/bugs/ec/bug-1161886.c
@@ -23,7 +23,7 @@ main (int argc, char *argv[])
ret = glfs_set_volfile_server (fs, "tcp", argv[1], 24007);
if (ret != 0) {
- fprintf (stderr, "glfs_set_volfile_server: retuned %d\n", ret);
+ fprintf (stderr, "glfs_set_volfile_server: returned %d\n", ret);
goto out;
}
ret = glfs_set_logging (fs, "/dev/null", 7);
diff --git a/tests/bugs/shard/bug-shard-discard.c b/tests/bugs/shard/bug-shard-discard.c
index 645bacf7d83..b1268278fa5 100644
--- a/tests/bugs/shard/bug-shard-discard.c
+++ b/tests/bugs/shard/bug-shard-discard.c
@@ -25,7 +25,7 @@ main (int argc, char *argv[])
ret = glfs_set_volfile_server (fs, "tcp", argv[1], 24007);
if (ret != 0) {
- fprintf (stderr, "glfs_set_volfile_server: retuned %d\n", ret);
+ fprintf (stderr, "glfs_set_volfile_server: returned %d\n", ret);
goto out;
}
diff --git a/tests/bugs/shard/bug-shard-zerofill.c b/tests/bugs/shard/bug-shard-zerofill.c
index 838a656b3bb..c0525a58afc 100644
--- a/tests/bugs/shard/bug-shard-zerofill.c
+++ b/tests/bugs/shard/bug-shard-zerofill.c
@@ -22,7 +22,7 @@ main (int argc, char *argv[])
ret = glfs_set_volfile_server (fs, "tcp", argv[1], 24007);
if (ret != 0) {
- fprintf (stderr, "glfs_set_volfile_server: retuned %d\n", ret);
+ fprintf (stderr, "glfs_set_volfile_server: returned %d\n", ret);
goto out;
}
ret = glfs_set_logging (fs, argv[4], 7);
diff --git a/tests/bugs/shard/shard-fallocate.c b/tests/bugs/shard/shard-fallocate.c
index e16620964c9..8745c0ece1d 100644
--- a/tests/bugs/shard/shard-fallocate.c
+++ b/tests/bugs/shard/shard-fallocate.c
@@ -61,7 +61,7 @@ main (int argc, char *argv[])
ret = glfs_set_volfile_server (fs, "tcp", argv[1], 24007);
if (ret != 0) {
- fprintf (stderr, "glfs_set_volfile_server: retuned %d\n", ret);
+ fprintf (stderr, "glfs_set_volfile_server: returned %d\n", ret);
goto out;
}