]> err.no Git - linux-2.6/commitdiff
V4L/DVB (5962): Fix line-break in err output
authorJanne Grunau <janne-dvb@grunau.be>
Tue, 31 Jul 2007 11:48:40 +0000 (08:48 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:04:02 +0000 (22:04 -0300)
line-breaks in dib0700-remote-query function fixed.

Signed-off-by: Janne Grunau <janne-dvb@grunau.be>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/dvb-usb/dib0700_devices.c

index a70fe75bcb27f8a68b1c6e606fec807c2c2da045..0eca0fc75327001b89fde08e86cb1d4b19ed677f 100644 (file)
@@ -274,7 +274,7 @@ static int dib0700_rc_query(struct dvb_usb_device *d, u32 *event, int *state)
        *state = REMOTE_NO_KEY_PRESSED;
        i=dib0700_ctrl_rd(d,rc_request,2,key,4);
        if (i<=0) {
-               err("RC Query Failed\n");
+               err("RC Query Failed");
                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)
                                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;
 }