]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/media/video/cx231xx/cx231xx-cards.c
V4L/DVB (13550): v4l: Use the new video_device_node_name function
[net-next-2.6.git] / drivers / media / video / cx231xx / cx231xx-cards.c
index 319c459459e0c5a0fb0f3323d0780b59a8ec65c6..ff534fe7f4a378b1a0ffdd08d343ba76e76306b1 100644 (file)
@@ -856,8 +856,9 @@ static void cx231xx_usb_disconnect(struct usb_interface *interface)
 
        if (dev->users) {
                cx231xx_warn
-                   ("device /dev/video%d is open! Deregistration and memory "
-                    "deallocation are deferred on close.\n", dev->vdev->num);
+                   ("device %s is open! Deregistration and memory "
+                    "deallocation are deferred on close.\n",
+                    video_device_node_name(dev->vdev));
 
                dev->state |= DEV_MISCONFIGURED;
                cx231xx_uninit_isoc(dev);