mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
14 lines
506 B
Diff
14 lines
506 B
Diff
diff --git a/src/core/Logger.cpp b/src/core/Logger.cpp
|
|
index 0076a9c..fe0f1a9 100644
|
|
--- a/src/core/Logger.cpp
|
|
+++ b/src/core/Logger.cpp
|
|
@@ -55,7 +55,7 @@ void* loggerThread_func( void* param ) {
|
|
if ( logger->__use_file ) {
|
|
log_file = fopen( logger->m_sLogFilePath.toLocal8Bit().data(), "w" );
|
|
if ( ! log_file ) {
|
|
- fprintf( stderr,
|
|
+ fprintf( stderr, "%s",
|
|
QString( "Error: can't open log file [%1] for writing...\n" )
|
|
.arg( logger->m_sLogFilePath ).toLocal8Bit().data() );
|
|
}
|