From: greg@kroah.com Date: Thu, 11 Dec 2003 06:12:30 +0000 (-0800) Subject: [PATCH] change devfs disk name rule from 'disk' to 'disc' X-Git-Tag: 009~19 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=525d07e78e281f5034ee29d2cd5cc144fe320431;p=systemd [PATCH] change devfs disk name rule from 'disk' to 'disc' --- 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 => <