mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Clarify units for mediasize and sectorsize in DoFile(..)
They're byte quantities. MFC after: 7 weeks Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
1b986d6aea
commit
397b5714d3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=316742
@ -519,8 +519,8 @@ DoFile(const char *savedir, const char *device)
|
||||
}
|
||||
|
||||
if (verbose) {
|
||||
printf("mediasize = %lld\n", (long long)mediasize);
|
||||
printf("sectorsize = %u\n", sectorsize);
|
||||
printf("mediasize = %lld bytes\n", (long long)mediasize);
|
||||
printf("sectorsize = %u bytes\n", sectorsize);
|
||||
}
|
||||
|
||||
if (sectorsize < sizeof(kdhl)) {
|
||||
|
Loading…
Reference in New Issue
Block a user