summaryrefslogtreecommitdiffstats
path: root/xlators/features/changelog/src
diff options
context:
space:
mode:
authorHumble Chirammal <hchiramm@redhat.com>2014-07-09 01:14:58 +0530
committerVenky Shankar <vshankar@redhat.com>2014-07-14 07:02:43 -0700
commit25ceba47ffefa8cf9639c4f7ef907d0f2974f7d3 (patch)
tree115d955692f1ed2040aecf1d95868a44df9497f2 /xlators/features/changelog/src
parent23ae9f3ad79d2d83447096d8b3627491b2e74bb8 (diff)
changelog: variable 'writen' is changed
This patch change the variable name to 'written' in changelog, along with few other typo fixing. Change-Id: I1d3cbea5c89fc0a15233bb6e61b4fbd4bfdd3a67 BUG: 1075417 Signed-off-by: Humble Chirammal <hchiramm@redhat.com> Reviewed-on: http://review.gluster.org/8267 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Venky Shankar <vshankar@redhat.com> Tested-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'xlators/features/changelog/src')
-rw-r--r--xlators/features/changelog/src/changelog-helpers.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/xlators/features/changelog/src/changelog-helpers.c b/xlators/features/changelog/src/changelog-helpers.c
index bb8150bd719..ba3367b339a 100644
--- a/xlators/features/changelog/src/changelog-helpers.c
+++ b/xlators/features/changelog/src/changelog-helpers.c
@@ -141,18 +141,18 @@ inline int
changelog_write (int fd, char *buffer, size_t len)
{
ssize_t size = 0;
- size_t writen = 0;
+ size_t written = 0;
- while (writen < len) {
+ while (written < len) {
size = write (fd,
- buffer + writen, len - writen);
+ buffer + written, len - written);
if (size <= 0)
break;
- writen += size;
+ written += size;
}
- return (writen != len);
+ return (written != len);
}
int