diff options
author | Ron Yorston <rmy@pobox.com> | 2016-05-16 09:33:03 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2016-05-16 09:33:03 +0100 |
commit | 35d2f5bccb0f3dde600702ebcdb5424d4d50be4a (patch) | |
tree | 6e0ff0341c69839e268459a199682628bae734ed /procps/fuser.c | |
parent | 248a2600a2f4b442101ad568d1994b908bb28d4b (diff) | |
parent | f2559e5c2b7bd2c5fa0dd8e88d0a931da92a23af (diff) | |
download | busybox-w32-35d2f5bccb0f3dde600702ebcdb5424d4d50be4a.tar.gz busybox-w32-35d2f5bccb0f3dde600702ebcdb5424d4d50be4a.tar.bz2 busybox-w32-35d2f5bccb0f3dde600702ebcdb5424d4d50be4a.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'procps/fuser.c')
-rw-r--r-- | procps/fuser.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/procps/fuser.c b/procps/fuser.c index 05b52abb1..6dac852ed 100644 --- a/procps/fuser.c +++ b/procps/fuser.c | |||
@@ -18,6 +18,7 @@ | |||
18 | //usage: "\n -SIGNAL Signal to send (default: KILL)" | 18 | //usage: "\n -SIGNAL Signal to send (default: KILL)" |
19 | 19 | ||
20 | #include "libbb.h" | 20 | #include "libbb.h" |
21 | #include "common_bufsiz.h" | ||
21 | 22 | ||
22 | #define MAX_LINE 255 | 23 | #define MAX_LINE 255 |
23 | 24 | ||
@@ -43,8 +44,9 @@ struct globals { | |||
43 | smallint kill_failed; | 44 | smallint kill_failed; |
44 | int killsig; | 45 | int killsig; |
45 | } FIX_ALIASING; | 46 | } FIX_ALIASING; |
46 | #define G (*(struct globals*)&bb_common_bufsiz1) | 47 | #define G (*(struct globals*)bb_common_bufsiz1) |
47 | #define INIT_G() do { \ | 48 | #define INIT_G() do { \ |
49 | setup_common_bufsiz(); \ | ||
48 | G.mypid = getpid(); \ | 50 | G.mypid = getpid(); \ |
49 | G.killsig = SIGKILL; \ | 51 | G.killsig = SIGKILL; \ |
50 | } while (0) | 52 | } while (0) |