diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-04-24 13:55:19 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-04-24 13:55:19 -0400 |
commit | f72154b33e67069cd7c308d24255574b9fbacb1d (patch) | |
tree | d10ac52e86e22b744b68806a075ba36196c933c8 /runtime/staprun/common.c | |
parent | f90f92615df6ff2a62282359281889597e5dbf17 (diff) | |
download | systemtap-steved-f72154b33e67069cd7c308d24255574b9fbacb1d.tar.gz systemtap-steved-f72154b33e67069cd7c308d24255574b9fbacb1d.tar.xz systemtap-steved-f72154b33e67069cd7c308d24255574b9fbacb1d.zip |
PR6451: avoid one class of staprun shutdown deadlock (module/.ctl filehandle = 0)
Diffstat (limited to 'runtime/staprun/common.c')
-rw-r--r-- | runtime/staprun/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/staprun/common.c b/runtime/staprun/common.c index f8fc418c..b716d27f 100644 --- a/runtime/staprun/common.c +++ b/runtime/staprun/common.c @@ -31,7 +31,7 @@ char *modname = NULL; char *modpath = ""; char *modoptions[MAXMODOPTIONS]; -int control_channel = 0; +int control_channel = -1; /* NB: fd==0 possible */ void parse_args(int argc, char **argv) { |