summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/input/input_dvb.c2
-rw-r--r--src/libsputext/demux_sputext.c4
-rw-r--r--src/video_out/libdha/mtrr.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/input/input_dvb.c b/src/input/input_dvb.c
index 842f96a49..771612a5a 100644
--- a/src/input/input_dvb.c
+++ b/src/input/input_dvb.c
@@ -1518,7 +1518,7 @@ static void load_epg_data(dvb_input_plugin_t *this)
"CHILDRENS","MUSIC","ARTS/CULTURE","CURRENT AFFAIRS",
"EDUCATIONAL","INFOTAINMENT","SPECIAL","COMEDY","DRAMA",
"DOCUMENTARY","UNK"};
- snprintf(current_epg->content, MAX_EPG_CONTENT_TYPE_LENGTH, content[content_bits]);
+ snprintf(current_epg->content, MAX_EPG_CONTENT_TYPE_LENGTH, "%s", content[content_bits]);
}
break;
case 0x55: { /* Parental Rating descriptor describes minimum recommened age -3 */
diff --git a/src/libsputext/demux_sputext.c b/src/libsputext/demux_sputext.c
index 91db10586..d5150a86c 100644
--- a/src/libsputext/demux_sputext.c
+++ b/src/libsputext/demux_sputext.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_sputext.c,v 1.46 2005/10/29 20:51:01 miguelfreitas Exp $
+ * $Id: demux_sputext.c,v 1.47 2006/02/14 18:44:08 dsalt Exp $
*
* code based on old libsputext/xine_decoder.c
*
@@ -1241,7 +1241,7 @@ static subtitle_t *sub_read_file (demux_sputext_t *this) {
else
strcat(buffer, "\n");
- xprintf (this->stream->xine, XINE_VERBOSITY_DEBUG, buffer);
+ xprintf (this->stream->xine, XINE_VERBOSITY_DEBUG, "%s", buffer);
}
return first;
diff --git a/src/video_out/libdha/mtrr.c b/src/video_out/libdha/mtrr.c
index 4878c2284..48ae5a1fd 100644
--- a/src/video_out/libdha/mtrr.c
+++ b/src/video_out/libdha/mtrr.c
@@ -80,7 +80,7 @@ int mtrr_set_type(unsigned base,unsigned size,int type)
char sout[256];
unsigned wr_len;
sprintf(sout,"base=0x%08X size=0x%08X type=%s\n",base,size,stype);
- wr_len = fprintf(mtrr_fd,sout);
+ wr_len = fprintf(mtrr_fd,"%s",sout);
/*printf("MTRR: %s\n",sout);*/
fclose(mtrr_fd);
return wr_len == strlen(sout) ? 0 : EPERM;