summaryrefslogtreecommitdiff
path: root/Documentation/media/uapi/v4l/dev-osd.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/media/uapi/v4l/dev-osd.rst')
-rw-r--r--Documentation/media/uapi/v4l/dev-osd.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/media/uapi/v4l/dev-osd.rst b/Documentation/media/uapi/v4l/dev-osd.rst
index 36129cf4e92a..fadda131f020 100644
--- a/Documentation/media/uapi/v4l/dev-osd.rst
+++ b/Documentation/media/uapi/v4l/dev-osd.rst
@@ -68,7 +68,7 @@ Example: Finding a framebuffer device for OSD
}
for (i = 0; i < 30; i++) {
- char dev_name\[16\];
+ char dev_name[16];
struct fb_fix_screeninfo si;
snprintf(dev_name, sizeof(dev_name), "/dev/fb%u", i);