summaryrefslogtreecommitdiff
path: root/usr.bin/usbhidaction
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-10-26 09:57:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-10-26 09:57:56 +0000
commitfeb9c94a9b21e5acfbdaddf96d73506c9af67154 (patch)
tree66465fafdcf911de83438e9e7f39363f248cf88f /usr.bin/usbhidaction
parent67a6dabf52a9dc42e13944389711867850737991 (diff)
stop using pidfile()
ok benno jung jca
Diffstat (limited to 'usr.bin/usbhidaction')
-rw-r--r--usr.bin/usbhidaction/usbhidaction.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/usbhidaction/usbhidaction.c b/usr.bin/usbhidaction/usbhidaction.c
index 53b5c54f71e..4b61105359b 100644
--- a/usr.bin/usbhidaction/usbhidaction.c
+++ b/usr.bin/usbhidaction/usbhidaction.c
@@ -1,4 +1,4 @@
-/* $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 $ */
/*
@@ -162,7 +162,6 @@ main(int argc, char **argv)
if (demon) {
if (daemon(0, 0) < 0)
err(1, "daemon()");
- pidfile(NULL);
isdemon = 1;
}