Skip to content
Permalink
Browse files

Fix for bareos bug #0001072 (-Werror=format-security)

  • Loading branch information...
tuxmaster5000 committed Jul 14, 2019
1 parent d8d98f8 commit 77dafb46b031bb760f118f15599b37d1f2db9d31
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/tests/lib_tests.cc
@@ -186,7 +186,7 @@ static void do_get_name_from_hello_test(const char* client_string_fmt,
const BareosVersionNumber& version_test)
{
char bashed_client_name[20];
sprintf(bashed_client_name, client_name);
sprintf(bashed_client_name, "%s", client_name);
BashSpaces(bashed_client_name);

char output_text[64];

0 comments on commit 77dafb4

Please sign in to comment.
You can’t perform that action at this time.