Commit 5d795dc7 authored by Georgi Chorbadzhiyski's avatar Georgi Chorbadzhiyski Committed by Christophe Massiot

* dvb.c, util.c: Fix format string errors.

parent 28f81122
...@@ -526,7 +526,7 @@ static int FrontendDoDiseqc(void) ...@@ -526,7 +526,7 @@ static int FrontendDoDiseqc(void)
if( ioctl( i_frontend, FE_DISEQC_SEND_BURST, if( ioctl( i_frontend, FE_DISEQC_SEND_BURST,
i_satnum == 0xB ? SEC_MINI_B : SEC_MINI_A ) < 0 ) i_satnum == 0xB ? SEC_MINI_B : SEC_MINI_A ) < 0 )
{ {
msg_Err( NULL, "ioctl FE_SEND_BURST failed (%m)", strerror(errno) ); msg_Err( NULL, "ioctl FE_SEND_BURST failed (%s)", strerror(errno) );
exit(1); exit(1);
} }
msleep(100000); /* ... */ msleep(100000); /* ... */
......
...@@ -249,7 +249,7 @@ void hexDump( uint8_t *p_data, uint32_t i_len ) ...@@ -249,7 +249,7 @@ void hexDump( uint8_t *p_data, uint32_t i_len )
} }
sprintf( &p_outline[53], "%16s", p_hrdata ); sprintf( &p_outline[53], "%16s", p_hrdata );
msg_Dbg( NULL, p_outline ); msg_Dbg( NULL, "%s", p_outline );
} }
free( p_hrdata ); free( p_hrdata );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment