diff options
author | 2014-07-11 07:47:22 +0000 | |
---|---|---|
committer | 2014-07-11 07:47:22 +0000 | |
commit | eafa4a588eea04114b7251872024d3e964a6000b (patch) | |
tree | 09f509a155d9da0adc9bf885780d3c57aabf29be | |
parent | the one userland file which wants uvmexp snooped via kmem, gets to use the (diff) | |
download | wireguard-openbsd-eafa4a588eea04114b7251872024d3e964a6000b.tar.xz wireguard-openbsd-eafa4a588eea04114b7251872024d3e964a6000b.zip |
The signal to tell init to power-off the system is SIGUSR2, not USR1
Inconsistency noted by blambert@, ok deraadt@
-rw-r--r-- | sys/arch/zaurus/dev/zaurus_kbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/zaurus/dev/zaurus_kbd.c b/sys/arch/zaurus/dev/zaurus_kbd.c index e6d9eead203..fc8eb68c5c4 100644 --- a/sys/arch/zaurus/dev/zaurus_kbd.c +++ b/sys/arch/zaurus/dev/zaurus_kbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: zaurus_kbd.c,v 1.34 2014/01/26 17:48:08 miod Exp $ */ +/* $OpenBSD: zaurus_kbd.c,v 1.35 2014/07/11 07:47:22 guenther Exp $ */ /* * Copyright (c) 2005 Dale Rahn <drahn@openbsd.org> * @@ -428,7 +428,7 @@ zkbd_on(void *v) if (ratecheck(&zkbdontv, &zkbdhalttv)) { if (allowpowerdown == 1) { allowpowerdown = 0; - psignal(initproc, SIGUSR1); + psignal(initproc, SIGUSR2); } } else if (ratecheck(&zkbdontv, &zkbdsleeptv)) { apm_suspends++; |