Skip to contentSkip to conversation

v4l2-ioctl: drop spurious newline in string

PATCH New Hans Verkuil 1 participant 1 message May 9, 2014 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 v4l2-ioctl: drop spurious newline in string

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

drivers/media/v4l2-core/v4l2-ioctl.c +1 -1
index f729bd2..16bffd8 100644
@@ -562,7 +562,7 @@ static void v4l_print_cropcap(const void *arg, bool write_only)
 	const struct v4l2_cropcap *p = arg;
 
 	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",
 		prt_names(p->type, v4l2_type_names),
 		p->bounds.width, p->bounds.height,