summaryrefslogtreecommitdiff
path: root/lib/common
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common')
-rw-r--r--lib/common/Test.cpp2
-rw-r--r--lib/common/Test.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/common/Test.cpp b/lib/common/Test.cpp
index e903f41e..787cf0a2 100644
--- a/lib/common/Test.cpp
+++ b/lib/common/Test.cpp
@@ -416,7 +416,7 @@ void terminate_bbackupd(int pid)
// Wait a given number of seconds for something to complete
-void wait_for_operation(int seconds, char* message)
+void wait_for_operation(int seconds, const char* message)
{
if (Logging::GetGlobalLevel() >= Log::TRACE)
{
diff --git a/lib/common/Test.h b/lib/common/Test.h
index 344af979..ce967041 100644
--- a/lib/common/Test.h
+++ b/lib/common/Test.h
@@ -158,7 +158,7 @@ void sync_and_wait();
void terminate_bbackupd(int pid);
// Wait a given number of seconds for something to complete
-void wait_for_operation(int seconds, char* message);
+void wait_for_operation(int seconds, const char* message);
void safe_sleep(int seconds);
#endif // TEST__H