-/* $OpenBSD: engine.c,v 1.26 2017/05/29 08:15:38 florian Exp $ */
+/* $OpenBSD: engine.c,v 1.27 2017/05/29 08:59:42 florian Exp $ */
/*
* Copyright (c) 2017 Florian Obser <florian@openbsd.org>
fatal("chdir(\"/\")");
slaacd_process = PROC_ENGINE;
- setproctitle(log_procnames[slaacd_process]);
+ setproctitle("%s", log_procnames[slaacd_process]);
log_procinit(log_procnames[slaacd_process]);
if (setgroups(1, &pw->pw_gid) ||
-/* $OpenBSD: frontend.c,v 1.12 2017/05/29 07:54:46 florian Exp $ */
+/* $OpenBSD: frontend.c,v 1.13 2017/05/29 08:59:42 florian Exp $ */
/*
* Copyright (c) 2017 Florian Obser <florian@openbsd.org>
fatal("chdir(\"/\")");
slaacd_process = PROC_FRONTEND;
- setproctitle(log_procnames[slaacd_process]);
+ setproctitle("%s", log_procnames[slaacd_process]);
log_procinit(log_procnames[slaacd_process]);
if ((icmp6sock = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6)) < 0)
-/* $OpenBSD: slaacd.c,v 1.18 2017/05/28 21:05:54 naddy Exp $ */
+/* $OpenBSD: slaacd.c,v 1.19 2017/05/29 08:59:42 florian Exp $ */
/*
* Copyright (c) 2017 Florian Obser <florian@openbsd.org>
slaacd_process = PROC_MAIN;
- setproctitle(log_procnames[slaacd_process]);
log_procinit(log_procnames[slaacd_process]);
if ((routesock = socket(PF_ROUTE, SOCK_RAW | SOCK_CLOEXEC |