From 64e34b52aaad860c7437aab765e85310dafb3f5a Mon Sep 17 00:00:00 2001 From: Robin Sommer Date: Wed, 10 Nov 2021 09:39:16 +0100 Subject: [PATCH] Tweaking a couple of debug message. As suggested during review. --- src/PolicyFile.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PolicyFile.cc b/src/PolicyFile.cc index eaee5a9916..c1bd4eac42 100644 --- a/src/PolicyFile.cc +++ b/src/PolicyFile.cc @@ -49,7 +49,7 @@ int how_many_lines_in(const char* policy_filename) FILE* throwaway = fopen(policy_filename, "r"); if ( ! throwaway ) { - debug_msg("No such policy file: %s.\n", policy_filename); + debug_msg("Could not open policy file: %s.\n", policy_filename); return -1; } @@ -97,7 +97,7 @@ bool LoadPolicyFileText(const char* policy_filename, if ( ! f ) { - debug_msg("No such policy file: %s.\n", policy_filename); + debug_msg("Could not open policy file: %s.\n", policy_filename); return false; } @@ -152,7 +152,7 @@ bool PrintLines(const char* policy_filename, unsigned int start_line, unsigned i FILE* throwaway = fopen(policy_filename, "r"); if ( ! throwaway ) { - debug_msg("No such policy file: %s.\n", policy_filename); + debug_msg("Could not open policy file: %s.\n", policy_filename); return false; }