From 761248d3c0476c85bfebbcea5a5914b2d082c523 Mon Sep 17 00:00:00 2001 From: Michael Habinsky Date: Fri, 15 Nov 2024 14:03:10 -0700 Subject: [PATCH] Fix warnings --- src/lib/cloudfuse/child_process.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/cloudfuse/child_process.cpp b/src/lib/cloudfuse/child_process.cpp index 196bd9e..213f6eb 100644 --- a/src/lib/cloudfuse/child_process.cpp +++ b/src/lib/cloudfuse/child_process.cpp @@ -67,7 +67,7 @@ bool CloudfuseMngr::writeTemplate() if (!out.is_open()) { // failed to open template file for writing - printf("Failed to open config template (%s).\n", templateFile); + printf("Failed to open config template (%s).\n", templateFile.c_str()); return false; } out << config_template; @@ -75,7 +75,7 @@ bool CloudfuseMngr::writeTemplate() if (out.fail()) { // failed to write template file - printf("Failed to write config template (%s).\n", templateFile); + printf("Failed to write config template (%s).\n", templateFile.c_str()); return false; } return true;