diff options
Diffstat (limited to 'usr.bin/find/find.c')
-rw-r--r-- | usr.bin/find/find.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/usr.bin/find/find.c b/usr.bin/find/find.c index 473244b..7b966bd 100644 --- a/usr.bin/find/find.c +++ b/usr.bin/find/find.c @@ -32,15 +32,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> -#ifndef lint -#if 0 -static char sccsid[] = "from: @(#)find.c 8.5 (Berkeley) 8/5/94"; -#else -__RCSID("$NetBSD: find.c,v 1.30 2016/06/13 00:04:40 pgoyette Exp $"); -#endif -#endif /* not lint */ - #include <sys/types.h> #include <sys/stat.h> @@ -165,12 +156,12 @@ sig_init(void) if (notty) return; sigemptyset(&ss); - sigaddset(&ss, SIGINFO); /* block SIGINFO */ + sigaddset(&ss, SIGHUP); /* block SIGINFO */ memset(&sa, 0, sizeof(sa)); sa.sa_flags = SA_RESTART; sa.sa_handler = show_path; - (void)sigaction(SIGINFO, &sa, NULL); + (void)sigaction(SIGHUP, &sa, NULL); } |