Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262982AbTI2LIK (ORCPT ); Mon, 29 Sep 2003 07:08:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262983AbTI2LIK (ORCPT ); Mon, 29 Sep 2003 07:08:10 -0400 Received: from hirsch.in-berlin.de ([192.109.42.6]:47002 "EHLO hirsch.in-berlin.de") by vger.kernel.org with ESMTP id S262982AbTI2LIH (ORCPT ); Mon, 29 Sep 2003 07:08:07 -0400 X-Envelope-From: kraxel@bytesex.org Date: Mon, 29 Sep 2003 13:06:37 +0200 From: Gerd Knorr To: Linus Torvalds , Kernel List Subject: [patch] use print_dev_t() for sysfs dev file in videodev.c Message-ID: <20030929110637.GA8500@bytesex.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.3i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Trivial one-liner, $subject says all. please apply, Gerd --- drivers/media/video/videodev.c.sysfs 2003-09-29 12:39:08.243219904 +0200 +++ drivers/media/video/videodev.c 2003-09-29 12:39:23.531895672 +0200 @@ -52,7 +52,7 @@ { struct video_device *vfd = container_of(cd, struct video_device, class_dev); dev_t dev = MKDEV(VIDEO_MAJOR, vfd->minor); - return sprintf(buf,"%04x\n",old_encode_dev(dev)); + return print_dev_t(buf,dev); } static CLASS_DEVICE_ATTR(name, S_IRUGO, show_name, NULL); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/