Browse Source

[media] v4l2-ioctl: drop spurious newline in string

The message logged by v4l_print_cropcap should be a single line withouti
linebreaks, just like all the other v4l_print_<ioctl> functions.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Hans Verkuil 11 years ago
parent
commit
a112fbaf78
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/v4l2-core/v4l2-ioctl.c

+ 1 - 1
drivers/media/v4l2-core/v4l2-ioctl.c

@@ -562,7 +562,7 @@ static void v4l_print_cropcap(const void *arg, bool write_only)
 	const struct v4l2_cropcap *p = arg;
 	const struct v4l2_cropcap *p = arg;
 
 
 	pr_cont("type=%s, bounds wxh=%dx%d, x,y=%d,%d, "
 	pr_cont("type=%s, bounds wxh=%dx%d, x,y=%d,%d, "
-		"defrect wxh=%dx%d, x,y=%d,%d\n, "
+		"defrect wxh=%dx%d, x,y=%d,%d, "
 		"pixelaspect %d/%d\n",
 		"pixelaspect %d/%d\n",
 		prt_names(p->type, v4l2_type_names),
 		prt_names(p->type, v4l2_type_names),
 		p->bounds.width, p->bounds.height,
 		p->bounds.width, p->bounds.height,