CBL-Mariner/SPECS-EXTENDED/sblim-cmpi-syslog/sblim-cmpi-syslog-0.9.0-for...

49 строки
1.9 KiB
Diff

diff -up sblim-cmpi-syslog-0.9.0/syslog-conf/Syslog_SettingContext.c.orig sblim-cmpi-syslog-0.9.0/syslog-conf/Syslog_SettingContext.c
--- sblim-cmpi-syslog-0.9.0/syslog-conf/Syslog_SettingContext.c.orig 2015-11-18 14:00:01.408021533 +0100
+++ sblim-cmpi-syslog-0.9.0/syslog-conf/Syslog_SettingContext.c 2015-11-18 14:01:17.423319465 +0100
@@ -95,7 +95,7 @@ static CMPIStatus returnAssocName( const
else {
char mesg[1024];
sprintf(mesg, "--- unsupported class %s\n", CMGetCharPtr(CMGetClassName(cop, NULL)));
- syslog_debug(stderr, mesg);
+ syslog_debug(stderr, "%s", mesg);
} // else unsupported class
return st;
@@ -159,7 +159,7 @@ static CMPIStatus returnAssoc( const CMP
else {
char mesg[1024];
sprintf(mesg, "--- unsupported class %s\n", CMGetCharPtr(CMGetClassName(cop,NULL)));
- syslog_debug(stderr, mesg);
+ syslog_debug(stderr, "%s", mesg);
} // else unsupported class
return st;
@@ -249,7 +249,7 @@ static CMPIStatus returnRefName( const C
else {
char mesg[1024];
sprintf(mesg, "--- unsupported class %s\n",CMGetCharPtr(CMGetClassName(cop,NULL)));
- syslog_debug(stderr, mesg);
+ syslog_debug(stderr, "%s", mesg);
} // else unsupported class
return st;
@@ -355,7 +355,7 @@ static CMPIStatus returnRef( const CMPIC
else {
char mesg[1024];
sprintf(mesg, "--- unsupported class %s\n",CMGetCharPtr(CMGetClassName(cop,NULL)));
- syslog_debug(stderr, mesg);
+ syslog_debug(stderr, "%s", mesg);
} // else unsupported class
return st;
@@ -438,7 +438,7 @@ static CMPIStatus associatorHelper( cons
else {
char mesg[1024];
sprintf(mesg, "--- unsupported class %s\n",CMGetCharPtr(clsname));
- syslog_debug(stderr, mesg);
+ syslog_debug(stderr, "%s", mesg);
}
CMReturnDone(rslt);