summaryrefslogtreecommitdiff
path: root/src/video_out/libdha
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2006-02-14 18:41:43 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2006-02-14 18:41:43 +0000
commit5df1a2f6bb4caa7db5abad0879fd0d6d4e0bb657 (patch)
treefad8d18e497dbda1c6ee1ff0ff61c1aa9a464baa /src/video_out/libdha
parent7a1df8370c3fa8ae1d6748863d58df4c79c33a5d (diff)
downloadxine-lib-5df1a2f6bb4caa7db5abad0879fd0d6d4e0bb657.tar.gz
xine-lib-5df1a2f6bb4caa7db5abad0879fd0d6d4e0bb657.tar.bz2
Kill a printf() warning.
CVS patchset: 7892 CVS date: 2006/02/14 18:41:43
Diffstat (limited to 'src/video_out/libdha')
-rw-r--r--src/video_out/libdha/mtrr.c2
1 files changed, 1 insertions, 1 deletions
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;