Commit 034d65ed authored by Janne Grunau's avatar Janne Grunau Committed by Mauro Carvalho Chehab

V4L/DVB (5962): Fix line-break in err output

line-breaks in dib0700-remote-query function fixed.
Signed-off-by: default avatarJanne Grunau <janne-dvb@grunau.be>
Signed-off-by: default avatarPatrick Boettcher <pb@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 3db78e59
...@@ -274,7 +274,7 @@ static int dib0700_rc_query(struct dvb_usb_device *d, u32 *event, int *state) ...@@ -274,7 +274,7 @@ static int dib0700_rc_query(struct dvb_usb_device *d, u32 *event, int *state)
*state = REMOTE_NO_KEY_PRESSED; *state = REMOTE_NO_KEY_PRESSED;
i=dib0700_ctrl_rd(d,rc_request,2,key,4); i=dib0700_ctrl_rd(d,rc_request,2,key,4);
if (i<=0) { if (i<=0) {
err("RC Query Failed\n"); err("RC Query Failed");
return 0; return 0;
} }
if (key[0]==0 && key[1]==0 && key[2]==0 && key[3]==0) return 0; if (key[0]==0 && key[1]==0 && key[2]==0 && key[3]==0) return 0;
...@@ -287,7 +287,7 @@ static int dib0700_rc_query(struct dvb_usb_device *d, u32 *event, int *state) ...@@ -287,7 +287,7 @@ static int dib0700_rc_query(struct dvb_usb_device *d, u32 *event, int *state)
return 0; return 0;
} }
} }
err("Unknown remote controller key : %2X %2X\n",(int)key[2],(int)key[3]); err("Unknown remote controller key : %2X %2X",(int)key[2],(int)key[3]);
} }
return 0; return 0;
} }
......
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