From 0c37eafbbcd3170992858f265a10a5f4f23736dd Mon Sep 17 00:00:00 2001 From: Michael Jones Date: Thu, 20 Jan 2011 16:59:01 +0100 Subject: Fix printf typos Signed-off-by: Laurent Pinchart --- main.c | 2 +- options.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index d156d2a..20939f1 100644 --- a/main.c +++ b/main.c @@ -343,7 +343,7 @@ static int set_crop(struct media_entity_pad *pad, struct v4l2_rect *crop) ret = v4l2_subdev_set_crop(pad->entity, crop, pad->index, V4L2_SUBDEV_FORMAT_ACTIVE); if (ret < 0) { - printf("Unable to set crop rectangle: %s (%d)", strerror(-ret), ret); + printf("Unable to set crop rectangle: %s (%d)\n", strerror(-ret), ret); return ret; } diff --git a/options.c b/options.c index 4f8df71..186425e 100644 --- a/options.c +++ b/options.c @@ -59,7 +59,7 @@ static void usage(const char *argv0, int verbose) printf("\tframe interval = numerator, '/', denominator ;\n"); printf("where the fields are\n"); printf("\tentity number Entity numeric identifier\n"); - printf("\tentity name Entify name (string) \n"); + printf("\tentity name Entity name (string) \n"); printf("\tpad number Pad numeric identifier\n"); printf("\tflags Link flags (0: inactive, 1: active)\n"); printf("\tfcc Format FourCC\n"); -- cgit v1.2.3