projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #3147 from rpv-tomsk/libvirt
[collectd.git]
/
src
/
tape.c
diff --git
a/src/tape.c
b/src/tape.c
index
f59b7ea
..
ccf8825
100644
(file)
--- a/
src/tape.c
+++ b/
src/tape.c
@@
-22,8
+22,8
@@
#include "collectd.h"
#include "collectd.h"
-#include "common.h"
#include "plugin.h"
#include "plugin.h"
+#include "utils/common/common.h"
#if !HAVE_LIBKSTAT
#error "No applicable input method."
#if !HAVE_LIBKSTAT
#error "No applicable input method."
@@
-36,7
+36,7
@@
#define MAX_NUMTAPE 256
extern kstat_ctl_t *kc;
static kstat_t *ksp[MAX_NUMTAPE];
#define MAX_NUMTAPE 256
extern kstat_ctl_t *kc;
static kstat_t *ksp[MAX_NUMTAPE];
-static int numtape
= 0
;
+static int numtape;
static int tape_init(void) {
kstat_t *ksp_chain;
static int tape_init(void) {
kstat_t *ksp_chain;