blob: 82477985f38f1c1d84ac72d1dc7ca3a509259ffe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
From bcf08c3eba0c529077c16110e066750c5cce8292 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Wed, 12 Feb 2014 14:07:16 +0000
Subject: [PATCH] nfsstat: replace the legacy SA_ONESHOT with standard
SA_RESETHAND
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
---
utils/nfsstat/nfsstat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/nfsstat/nfsstat.c b/utils/nfsstat/nfsstat.c
index 70f8d10..3612bfe 100644
--- a/utils/nfsstat/nfsstat.c
+++ b/utils/nfsstat/nfsstat.c
@@ -336,7 +336,7 @@ main(int argc, char **argv)
struct sigaction act = {
.sa_handler = unpause,
- .sa_flags = SA_ONESHOT,
+ .sa_flags = SA_RESETHAND,
};
if ((progname = strrchr(argv[0], '/')))
--
2.0.4
|