summaryrefslogtreecommitdiffstats
path: root/avahi-daemon/chroot.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-08-31 18:32:27 +0000
committerLennart Poettering <lennart@poettering.net>2006-08-31 18:32:27 +0000
commit9d709a294b81066a0942a7a642df1b3d4940ad26 (patch)
tree0bb37c5bd2622dba6b3fdeeeb92b1edaac6b1963 /avahi-daemon/chroot.c
parent2a3d0eaa15047ec792cddc1e7e821f525d718648 (diff)
avahi_set_proc_title(): change the process name with prctl() if available
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1300 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-daemon/chroot.c')
-rw-r--r--avahi-daemon/chroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-daemon/chroot.c b/avahi-daemon/chroot.c
index 5ca605d..99f52fa 100644
--- a/avahi-daemon/chroot.c
+++ b/avahi-daemon/chroot.c
@@ -314,7 +314,7 @@ int avahi_chroot_helper_start(const char *argv0) {
/* Drop all remaining capabilities */
avahi_caps_drop_all();
- avahi_set_proc_title("%s: chroot helper process", argv0);
+ avahi_set_proc_title(argv0, "%s: chroot helper process", argv0);
close(sock[0]);
helper_main(sock[1]);