From 525d07e78e281f5034ee29d2cd5cc144fe320431 Mon Sep 17 00:00:00 2001 From: "greg@kroah.com" Date: Wed, 10 Dec 2003 22:12:30 -0800 Subject: [PATCH] [PATCH] change devfs disk name rule from 'disk' to 'disc' --- namedev.c | 2 +- test/udev-test.pl | 2 +- udev.8 | 2 +- udev.rules | 2 +- udev.rules.devfs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/namedev.c b/namedev.c index fbdb125e..75e4d223 100644 --- a/namedev.c +++ b/namedev.c @@ -223,7 +223,7 @@ static void apply_format(struct udevice *udev, unsigned char *string) break; case 'D': if (strlen(udev->kernel_number) == 0) { - strcat(pos, "disk"); + strcat(pos, "disc"); break; } strcat(pos, "part"); diff --git a/test/udev-test.pl b/test/udev-test.pl index 39d8450c..3dfbaa25 100644 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -156,7 +156,7 @@ EOF desc => "devfs disk naming substitution", subsys => "block", devpath => "block/sda", - expected => "lun0/disk" , + expected => "lun0/disc" , conf => <