projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17940d8
)
nfs plugin: constify
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 13:03:03 +0000
(14:03 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 13:03:03 +0000
(14:03 +0100)
src/nfs.c
patch
|
blob
|
history
diff --git
a/src/nfs.c
b/src/nfs.c
index
be82372
..
a921a17
100644
(file)
--- a/
src/nfs.c
+++ b/
src/nfs.c
@@
-554,7
+554,7
@@
static int nfs_submit_nfs4_client (const char *instance, char **fields,
return (0);
}
-static void nfs_read_linux (FILE *fh, char *inst)
+static void nfs_read_linux (FILE *fh, c
onst c
har *inst)
{
char buffer[1024];
@@
-603,7
+603,7
@@
static void nfs_read_linux (FILE *fh, char *inst)
#endif /* KERNEL_LINUX */
#if HAVE_LIBKSTAT
-static int nfs_read_kstat (kstat_t *ksp, int nfs_version, char *inst,
+static int nfs_read_kstat (kstat_t *ksp, int nfs_version, c
onst c
har *inst,
char const **proc_names, size_t proc_names_num)
{
char plugin_instance[DATA_MAX_NAME_LEN];