Signed-off-by: Alexey Fisher <bug-tr...@fisher-privat.net>
---
 drivers/media/video/uvc/uvc_debugfs.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/media/video/uvc/uvc_debugfs.c 
b/drivers/media/video/uvc/uvc_debugfs.c
index bdba016..1b0087b 100644
--- a/drivers/media/video/uvc/uvc_debugfs.c
+++ b/drivers/media/video/uvc/uvc_debugfs.c
@@ -97,8 +97,7 @@ int uvc_debugfs_init_stream(struct uvc_streaming *stream)
        dent = debugfs_create_file("stats", 0600, stream->debugfs_dir,
                                   stream, &uvc_debugfs_stats_fops);
        if (IS_ERR_OR_NULL(dent)) {
-               uvc_printk(KERN_INFO, "Unable to create debugfs %s 
directory.\n",
-                          dir_name);
+               uvc_printk(KERN_INFO, "Unable to create debugfs stats file.\n");
                uvc_debugfs_cleanup_stream(stream);
                return -ENODEV;
        }
-- 
1.7.5.4

_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to