summaryrefslogtreecommitdiff
path: root/usr.sbin/wsmoused
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-11-02 16:20:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-11-02 16:20:14 +0000
commit4b04812d48ab55704a52929c162801889cfb7315 (patch)
treeda299d4d2501f36217abe677759f4fc66bf23670 /usr.sbin/wsmoused
parent9a220fbad5dd513de55c52e6eb1152e0f0783100 (diff)
_exit() in signal handler
Diffstat (limited to 'usr.sbin/wsmoused')
-rw-r--r--usr.sbin/wsmoused/wsmoused.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/wsmoused/wsmoused.c b/usr.sbin/wsmoused/wsmoused.c
index d0a80dbb2f6..65561f132cf 100644
--- a/usr.sbin/wsmoused/wsmoused.c
+++ b/usr.sbin/wsmoused/wsmoused.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsmoused.c,v 1.5 2001/09/20 21:22:16 miod Exp $ */
+/* $OpenBSD: wsmoused.c,v 1.6 2001/11/02 16:19:48 deraadt Exp $ */
/*
* Copyright (c) 2001 Jean-Baptiste Marchand, Julien Montagne and Jerome Verdon
@@ -231,7 +231,7 @@ terminate(int sig)
mouse.mfd = -1;
}
unlink(pidfile);
- exit(0);
+ _exit(0);
}
/* buttons status (for multiple click detection) */