aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-registry/slave.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/slave.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/slave.c')
-rw-r--r--src/mds-registry/slave.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mds-registry/slave.c b/src/mds-registry/slave.c
index 54774e2..8a4d221 100644
--- a/src/mds-registry/slave.c
+++ b/src/mds-registry/slave.c
@@ -114,7 +114,7 @@ static void* slave_loop(void* data)
goto done;
- pfail:
+ fail:
xperror(*argv);
done:
with_mutex (slave_mutex,
@@ -198,7 +198,7 @@ int start_slave(hash_table_t* restrict wait_set, const char* restrict recv_clien
pthread_mutex_unlock(&slave_mutex);
return 0;
- pfail:
+ fail:
xperror(*argv);
if (locked)
pthread_mutex_unlock(&slave_mutex);
@@ -284,7 +284,7 @@ slave_t* slave_create(hash_table_t* restrict wait_set, const char* restrict recv
return rc;
- pfail:
+ fail:
saved_errno = errno;
slave_destroy(rc), free(rc);
return errno = saved_errno, NULL;