Signed-off-by: Lukas Wagner <[email protected]>
---
src/pmxcfs/status.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/pmxcfs/status.c b/src/pmxcfs/status.c
index c8e072f..e9e28bb 100644
--- a/src/pmxcfs/status.c
+++ b/src/pmxcfs/status.c
@@ -1431,7 +1431,7 @@ static void update_rrd_data(const char *key,
gconstpointer data, size_t len) {
}
filename = g_strdup_printf(RRDDIR "/pve-vm-9.0/%s", vmid);
- char *filename_pve2 = g_strdup_printf(RRDDIR "/%s/%s", "pve2-vm",
vmid);
+ char *filename_pve2 = g_strdup_printf(RRDDIR "/pve2-vm/%s", vmid);
int use_pve2_file = 0;
@@ -1500,7 +1500,7 @@ static void update_rrd_data(const char *key,
gconstpointer data, size_t len) {
}
filename = g_strdup_printf(RRDDIR "/pve-storage-9.0/%s", node);
- char *filename_pve2 = g_strdup_printf(RRDDIR "/%s/%s", "pve2-storage",
node);
+ char *filename_pve2 = g_strdup_printf(RRDDIR "/pve2-storage/%s", node);
// check existing rrd files and directories
if (g_file_test(filename, G_FILE_TEST_EXISTS)) {
--
2.47.2
_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel