summaryrefslogtreecommitdiffstats
path: root/api/examples/glfsxmp.c
diff options
context:
space:
mode:
authorarvindch <achembarpu@gmail.com>2014-03-17 20:50:39 +0530
committerAnand Avati <avati@redhat.com>2014-03-17 16:13:31 -0700
commitd4343f0d192862cb378eac13365bcfde31fa1d37 (patch)
tree70024d1e8b8963b58cc3e289d24a66576a9d6ae6 /api/examples/glfsxmp.c
parent6224e878cdf780360b49760c4b0c20584bbc0b6f (diff)
fixed a few misspellings. no code changes present
Change-Id: Ia1a771301e9f1becbbffd8afd7eb68bec9696ef8 BUG: 1075417 Signed-off-by: arvindch <achembarpu@gmail.com> Reviewed-on: http://review.gluster.org/7283 Reviewed-by: Justin Clift <justin@gluster.org> Tested-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'api/examples/glfsxmp.c')
-rw-r--r--api/examples/glfsxmp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/api/examples/glfsxmp.c b/api/examples/glfsxmp.c
index 600d72fb5..7180a997f 100644
--- a/api/examples/glfsxmp.c
+++ b/api/examples/glfsxmp.c
@@ -293,19 +293,19 @@ test_h_unlink (void)
goto out;
}
- /* unlink non-existant regular file */
+ /* unlink non-existent regular file */
ret = glfs_h_unlink (fs, dir, my_file);
if ((ret && errno != ENOENT) || (ret == 0)) {
- fprintf (stderr, "glfs_h_unlink: error unlinking non-existant %s: invalid errno ,%d, %s\n",
+ fprintf (stderr, "glfs_h_unlink: error unlinking non-existent %s: invalid errno ,%d, %s\n",
my_file, ret, strerror (errno));
printf ("glfs_h_unlink tests: FAILED\n");
goto out;
}
- /* unlink non-existant directory */
+ /* unlink non-existent directory */
ret = glfs_h_unlink (fs, dir, my_subdir);
if ((ret && errno != ENOENT) || (ret == 0)) {
- fprintf (stderr, "glfs_h_unlink: error unlinking non-existant %s: invalid errno ,%d, %s\n",
+ fprintf (stderr, "glfs_h_unlink: error unlinking non-existent %s: invalid errno ,%d, %s\n",
my_subdir, ret, strerror (errno));
printf ("glfs_h_unlink tests: FAILED\n");
goto out;