summaryrefslogtreecommitdiffstats
path: root/ctdb/common/system_freebsd.c
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2013-07-09 12:24:59 +1000
committerAmitay Isaacs <amitay@gmail.com>2013-07-10 14:33:19 +1000
commit500b26e48f97719f4ba1f92b6f86bb341c2e5525 (patch)
tree98a5ae3a282240a96f394fe078a9b511b07deb47 /ctdb/common/system_freebsd.c
parent4357aebdb9b493c4e5814a53588d2cd35e4c36f8 (diff)
downloadsamba-500b26e48f97719f4ba1f92b6f86bb341c2e5525.tar.gz
samba-500b26e48f97719f4ba1f92b6f86bb341c2e5525.tar.xz
samba-500b26e48f97719f4ba1f92b6f86bb341c2e5525.zip
common/system: Add ctdb_set_process_name() function
Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit fc3689c977f48d7988eed0654fb8e5ce4b8bfc8b)
Diffstat (limited to 'ctdb/common/system_freebsd.c')
-rw-r--r--ctdb/common/system_freebsd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ctdb/common/system_freebsd.c b/ctdb/common/system_freebsd.c
index 641e77a3b00..9597a7ac965 100644
--- a/ctdb/common/system_freebsd.c
+++ b/ctdb/common/system_freebsd.c
@@ -390,6 +390,12 @@ char *ctdb_get_process_name(pid_t pid)
return NULL;
}
+int ctdb_set_process_name(const char *name)
+{
+ /* FIXME FreeBSD: set_process_name not implemented */
+ return -ENOSYS;
+}
+
bool ctdb_get_lock_info(pid_t req_pid, struct ctdb_lock_info *lock_info)
{
/* FIXME FreeBSD: get_lock_info not implemented */