summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Jones <michael.jones@matrix-vision.de>2011-01-20 16:59:01 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-01-24 00:54:58 +0100
commit0c37eafbbcd3170992858f265a10a5f4f23736dd (patch)
treee87bd557e45629b1bb0cc76da4faff3910ac21a5
parent5c4174234927f4e38a457ce15649e76b596d2fb1 (diff)
Fix printf typos
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--main.c2
-rw-r--r--options.c2
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");