2021-04-26 Fred Gleason <fredg@paravelsystems.com>

* Fixed security warnings when build under Debian.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-04-26 08:37:36 -04:00
parent 5d32b1b6df
commit a217f43d09
5 changed files with 6 additions and 4 deletions

View File

@@ -79,7 +79,7 @@ MainObject::MainObject(QObject *parent)
//
QString err (tr("datedecode_test: "));
if(!RDOpenDb(&schema,&err,config)) {
fprintf(stderr,err.toUtf8());
fprintf(stderr,"%s\n",err.toUtf8().constData());
delete cmd;
exit(256);
}