-/* $OpenBSD: usbhidaction.c,v 1.19 2015/01/18 17:18:08 mpi Exp $ */
+/* $OpenBSD: usbhidaction.c,v 1.20 2015/10/26 09:57:55 deraadt Exp $ */
/* $NetBSD: usbhidaction.c,v 1.7 2002/01/18 14:38:59 augustss Exp $ */
/*
if (demon) {
if (daemon(0, 0) < 0)
err(1, "daemon()");
- pidfile(NULL);
isdemon = 1;
}
if (debug)
fprintf(stderr, "pruning %s\n", pruning ? "on" : "off");
- pidfile(NULL);
-
(void)signal(SIGALRM, fasttimer);
(void)signal(SIGHUP, restart);
-/* $OpenBSD: rarpd.c,v 1.62 2015/10/16 23:09:53 deraadt Exp $ */
+/* $OpenBSD: rarpd.c,v 1.63 2015/10/26 09:57:55 deraadt Exp $ */
/* $NetBSD: rarpd.c,v 1.25 1998/04/23 02:48:33 mrg Exp $ */
/*
if ((!fflag) && (!dflag)) {
if (daemon(0, 0) == -1)
error(FATAL, "failed to daemonize: %s", strerror(errno));
- pidfile(NULL);
}
rarp_loop();
exit(0);
-/* $OpenBSD: rbootd.c,v 1.26 2015/01/16 06:40:19 deraadt Exp $ */
+/* $OpenBSD: rbootd.c,v 1.27 2015/10/26 09:57:55 deraadt Exp $ */
/* $NetBSD: rbootd.c,v 1.5 1995/10/06 05:12:17 thorpej Exp $ */
/*
gethostname(MyHost, HOST_NAME_MAX+1);
- if (pidfile(NULL) < 0)
- syslog(LOG_WARNING, "pidfile: failed");
-
/*
* All boot files are relative to the boot directory, we might
* as well chdir() there to make life easier.