aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-registry/registry.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-12-08 19:34:26 +0100
committerMattias Andrée <maandree@operamail.com>2014-12-08 19:34:26 +0100
commit3e07c8b1657e28f19072b430936e88be040fb319 (patch)
tree079b9c8b4669873578cce9eccd79d53c89467a1f /src/mds-registry/registry.c
parentm + make sure we never lose errno (diff)
downloadmds-3e07c8b1657e28f19072b430936e88be040fb319.tar.gz
mds-3e07c8b1657e28f19072b430936e88be040fb319.tar.bz2
mds-3e07c8b1657e28f19072b430936e88be040fb319.tar.xz
rename pfail to fail
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/mds-registry/registry.c')
-rw-r--r--src/mds-registry/registry.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mds-registry/registry.c b/src/mds-registry/registry.c
index 918b137..5f241ea 100644
--- a/src/mds-registry/registry.c
+++ b/src/mds-registry/registry.c
@@ -107,7 +107,7 @@ static int handle_close_message(void)
free(keys);
return 0;
- pfail:
+ fail:
xperror(*argv);
free(keys);
return -1;
@@ -167,7 +167,7 @@ static int registry_action_add(int has_key, char* command, size_t command_key, u
fail_if (advance_slaves(command));
return 0;
- pfail:
+ fail:
xperror(*argv);
return -1;
}
@@ -239,7 +239,7 @@ static int registry_action_act(char* command, int action, uint64_t client, hash_
}
return 0;
- pfail:
+ fail:
xperror(*argv);
hash_table_destroy(wait_set, (free_func*)reg_table_free_key, NULL);
free(wait_set);