diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-08-02 20:20:16 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-08-02 20:20:16 +0200 |
commit | f45ddcf8136fabc8a14c66250e3be540661b3634 (patch) | |
tree | 5701cb54f6b5f463575d4601a3560ec0fd305d83 /src/mds-registry/slave.c | |
parent | misc (diff) | |
download | mds-f45ddcf8136fabc8a14c66250e3be540661b3634.tar.gz mds-f45ddcf8136fabc8a14c66250e3be540661b3634.tar.bz2 mds-f45ddcf8136fabc8a14c66250e3be540661b3634.tar.xz |
misc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/mds-registry/slave.c')
-rw-r--r-- | src/mds-registry/slave.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mds-registry/slave.c b/src/mds-registry/slave.c index 9bc2fd1..6afc69f 100644 --- a/src/mds-registry/slave.c +++ b/src/mds-registry/slave.c @@ -63,7 +63,7 @@ static void* slave_loop(void* data) goto done; pfail: - perror(*argv); + xperror(*argv); done: with_mutex (slave_mutex, if (!reexecing) @@ -102,17 +102,17 @@ int start_slave(hash_table_t* restrict wait_set, const char* restrict recv_clien goto pfail_in_mutex; if ((errno = pthread_detach(slave->thread))) - perror(*argv); + xperror(*argv); running_slaves++; pthread_mutex_unlock(&slave_mutex); return 0; pfail: - perror(*argv); + xperror(*argv); goto more_fail; pfail_in_mutex: - perror(*argv); + xperror(*argv); pthread_mutex_unlock(&slave_mutex); more_fail: if (node != LINKED_LIST_UNUSED) |