summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2021-08-26 03:06:19 -0700
committerVito Caputo <vcaputo@pengaru.com>2021-08-26 03:06:19 -0700
commiteac2122b04b68f4abf09d2584f96c8fd8c67a144 (patch)
tree79547465c34947d6198dd0f9bc354ebb6a3a4c97
parentf29d8d7f801dab7c5b8381c0a0be733ebb21e7a7 (diff)
vmon: bump max --name length in snapshot filename
16+NUL was clearly too short for descriptive names, pushed it all up to get closer to the common 256 fs limit.
-rw-r--r--src/vmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vmon.c b/src/vmon.c
index ebac3a1..bb8e3a2 100644
--- a/src/vmon.c
+++ b/src/vmon.c
@@ -524,7 +524,7 @@ static int vmon_snapshot(vmon_t *vmon)
struct tm *start_time;
char start_str[32];
char path[4096];
- char name[17] = {};
+ char name[200] = {};
FILE *output;
int r;
© All Rights Reserved