aboutsummaryrefslogtreecommitdiff
path: root/sys/miscfs
diff options
context:
space:
mode:
authorJonathan M. Bresler <jmb@FreeBSD.org>2000-06-12 10:20:18 +0000
committerJonathan M. Bresler <jmb@FreeBSD.org>2000-06-12 10:20:18 +0000
commitcaea99a368d4755e2766715b01971a83b996e018 (patch)
tree88c3b95b30dd4eeb1946862c6fb3e301b9de95ee /sys/miscfs
parente439c30cf4dcb0d831b947550a5179bb51ef567f (diff)
downloadsrc-caea99a368d4755e2766715b01971a83b996e018.tar.gz
src-caea99a368d4755e2766715b01971a83b996e018.zip
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"
Notes
Notes: svn path=/head/; revision=61572
Diffstat (limited to 'sys/miscfs')
-rw-r--r--sys/miscfs/specfs/spec_vnops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c
index 8fc79092d16d..4b8f20c2afef 100644
--- a/sys/miscfs/specfs/spec_vnops.c
+++ b/sys/miscfs/specfs/spec_vnops.c
@@ -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;