From 621138ce763eda8270d0a4f6d7209fd50ada8787 Mon Sep 17 00:00:00 2001 From: Yaniv Kaul Date: Mon, 16 Jul 2018 17:03:17 +0300 Subject: 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 --- tests/features/glfs-lease.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/features') diff --git a/tests/features/glfs-lease.c b/tests/features/glfs-lease.c index 1a375ecbeb3..535b3019a8c 100644 --- a/tests/features/glfs-lease.c +++ b/tests/features/glfs-lease.c @@ -199,7 +199,7 @@ do { do { \ if (ret != value) { \ fprintf (log_file, "\n Testcase %d failed, ret = %d, value=%d\n", test_case, ret, value); \ - goto error; /*test unsuccesfull*/ \ + goto error; /*test unsuccessful*/ \ } \ fprintf (log_file, "\n Testcase %d Succeeded\n", test_case); \ } while (0) \ @@ -210,7 +210,7 @@ recall_cbk (struct glfs_lease lease, void *data) int ret = -1; char ld[GLFS_LEASE_ID_SIZE] = ""; - fprintf (log_file, "\nRECALL recieved on lease_id:(%s)", lease.lease_id); + fprintf (log_file, "\nRECALL received on lease_id:(%s)", lease.lease_id); memcpy (ld, lease.lease_id, GLFS_LEASE_ID_SIZE); ret = unlk_write_lease ((glfs_fd_t *)data, ld); VERIFY_RESULT (500, ret, SHUD_PASS); -- cgit