aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mds-vt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds-vt.c b/src/mds-vt.c
index bb86101..57959ba 100644
--- a/src/mds-vt.c
+++ b/src/mds-vt.c
@@ -225,7 +225,7 @@ size_t marshal_server_size(void)
{
size_t rc = 5 * sizeof(int) + sizeof(int32_t);
rc += sizeof(struct stat);
- rc += sizeof(vtfile_path);
+ rc += PATH_MAX * sizeof(char);
rc += mds_message_marshal_size(&received);
return rc;
}