X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fpf.c;h=0fff6720706966c3ab9c351eedee0a23e60c23f1;hb=f8287addd23543a970453e473829bd3d6c28bcdd;hp=da539a26ec4cd9f6b1026ed39f8903568f97e346;hpb=9b1d951382d05b688350d8a5f300c9936170f1aa;p=collectd.git diff --git a/src/pf.c b/src/pf.c index da539a26..0fff6720 100644 --- a/src/pf.c +++ b/src/pf.c @@ -86,7 +86,7 @@ static int pf_read (void) close (fd); fd = -1; - if (!status.running) + if (!state.running) { WARNING ("pf plugin: PF is not running."); return (-1);