aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/storage/plugins/NfsStorage.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/storage/plugins/NfsStorage.cxx b/src/storage/plugins/NfsStorage.cxx
index ecf1fb0b6..0dedf5ca5 100644
--- a/src/storage/plugins/NfsStorage.cxx
+++ b/src/storage/plugins/NfsStorage.cxx
@@ -38,8 +38,8 @@ extern "C" {
class NfsDirectoryReader final : public StorageDirectoryReader {
const std::string base;
- nfs_context *ctx;
- nfsdir *dir;
+ nfs_context *const ctx;
+ nfsdir *const dir;
nfsdirent *ent;
@@ -64,7 +64,7 @@ public:
class NfsStorage final : public Storage {
const std::string base;
- nfs_context *ctx;
+ nfs_context *const ctx;
public:
NfsStorage(const char *_base, nfs_context *_ctx)