summaryrefslogtreecommitdiff
path: root/netsvcs
diff options
context:
space:
mode:
Diffstat (limited to 'netsvcs')
-rw-r--r--netsvcs/clients/Naming/Dump_Restore/Dump_Restore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.h b/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.h
index 852efff6f77..b1a82a50f3c 100644
--- a/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.h
+++ b/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.h
@@ -54,8 +54,8 @@ private:
int unbind (char* key);
int rebind (char* key, char* value, char* type = "");
- char filename_[MAXPATHLEN];
- char dump_filename_[MAXPATHLEN];
+ char filename_[MAXPATHLEN + 1];
+ char dump_filename_[MAXPATHLEN + 1];
u_short port_;
// port server is listening on