mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Fix breakage on sparc64.
Note to self: always test even the smallest changes on all platforms.
This commit is contained in:
parent
bafb64af4f
commit
71ec78e340
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113264
@ -1457,7 +1457,7 @@ ar_print_conf(struct ar_softc *config)
|
||||
printf("heads %d\n", config->heads);
|
||||
printf("sectors %d\n", config->sectors);
|
||||
printf("cylinders %d\n", config->cylinders);
|
||||
printf("total_sectors %lld\n", config->total_sectors);
|
||||
printf("total_sectors %lld\n", (long long)config->total_sectors);
|
||||
printf("interleave %d\n", config->interleave);
|
||||
printf("reserved %d\n", config->reserved);
|
||||
printf("offset %d\n", config->offset);
|
||||
@ -1465,6 +1465,6 @@ ar_print_conf(struct ar_softc *config)
|
||||
printf("disk %d: flags = 0x%02x %b\n", i, config->disks[i].flags, config->disks[i].flags, "\20\4ONLINE\3SPARE\2ASSIGNED\1PRESENT\n");
|
||||
if (config->disks[i].device)
|
||||
printf(" %s\n", config->disks[i].device->name);
|
||||
printf(" sectors %lld\n", config->disks[i].disk_sectors);
|
||||
printf(" sectors %lld\n", (long long)config->disks[i].disk_sectors);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user