summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 17940d8)
raw | patch | inline | side by side (parent: 17940d8)
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 be823720b489ec3ddd8f1f75d7976b28469fd5ab..a921a1774d9cdcc1a0fa95fbfb44c77f17077a77 100644 (file)
--- a/src/nfs.c
+++ b/src/nfs.c
return (0);
}
-static void nfs_read_linux (FILE *fh, char *inst)
+static void nfs_read_linux (FILE *fh, const char *inst)
{
char buffer[1024];
#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, const char *inst,
char const **proc_names, size_t proc_names_num)
{
char plugin_instance[DATA_MAX_NAME_LEN];