before this commit, specfs reported disk partitions

using decimal major and minor numbers.  "ls -l" reports
	disk partitions using decimal major numbers and hex
	minor numbers.

	make specfs use decimal major numbers and hex minor numbers,
	just like "ls -l"
This commit is contained in:
Jonathan M. Bresler 2000-06-12 10:20:18 +00:00
parent e439c30cf4
commit caea99a368
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61572
2 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@ spec_open(ap)
if (*dev->si_name != '\0')
printf("Device \"%s\" ", dev->si_name);
else
printf("Device char-major=%d minor=%d ",
printf("Device char-major=%d minor=0x%x ",
major(dev), minor(dev));
printf("opened in block mode, convert to char mode with /dev/MAKEDEV before 2000-07-01\n");
dev->si_flags |= SI_WHINED;

View File

@ -150,7 +150,7 @@ spec_open(ap)
if (*dev->si_name != '\0')
printf("Device \"%s\" ", dev->si_name);
else
printf("Device char-major=%d minor=%d ",
printf("Device char-major=%d minor=0x%x ",
major(dev), minor(dev));
printf("opened in block mode, convert to char mode with /dev/MAKEDEV before 2000-07-01\n");
dev->si_flags |= SI_WHINED;