summaryrefslogtreecommitdiffstats
path: root/xlators/features/changelog/lib/examples/c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/changelog/lib/examples/c')
-rw-r--r--xlators/features/changelog/lib/examples/c/get-changes-multi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/features/changelog/lib/examples/c/get-changes-multi.c b/xlators/features/changelog/lib/examples/c/get-changes-multi.c
index ae404bc7ad6..3741bdf6edc 100644
--- a/xlators/features/changelog/lib/examples/c/get-changes-multi.c
+++ b/xlators/features/changelog/lib/examples/c/get-changes-multi.c
@@ -44,7 +44,7 @@ void brick_callback (void *xl, char *brick,
void fill_brick_spec (struct gf_brick_spec *brick, char *path)
{
brick->brick_path = strdup (path);
- brick->filter = CHANGELOG_OP_TYPE_RELEASE;
+ brick->filter = CHANGELOG_OP_TYPE_BR_RELEASE;
brick->init = brick_init;
brick->fini = brick_fini;
@@ -75,7 +75,7 @@ main (int argc, char **argv)
goto error_return;
ret = gf_changelog_register_generic ((struct gf_brick_spec *)bricks, 2,
- 1, "/tmp/multi-changes.log", 9,
+ 0, "/tmp/multi-changes.log", 9,
NULL);
if (ret)
goto error_return;