* [PATCH] v4l2-ioctl: drop spurious newline in string
@ 2014-05-09 12:25 Hans Verkuil
0 siblings, 0 replies; only message in thread
From: Hans Verkuil @ 2014-05-09 12:25 UTC (permalink / raw)
To: Linux Media Mailing List
The message logged by v4l_print_cropcap should be a single line without linebreaks, just
like all the other v4l_print_<ioctl> functions.
diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c
index f729bd2..16bffd8 100644
--- a/drivers/media/v4l2-core/v4l2-ioctl.c
+++ b/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;
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,
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-05-09 12:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-09 12:25 [PATCH] v4l2-ioctl: drop spurious newline in string Hans Verkuil
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.