From d4b943f26c0273bc5116916e4994179face40517 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Wed, 31 May 2017 08:43:45 +0000 Subject: [PATCH] MFC r316742: Clarify units for mediasize and sectorsize in DoFile(..) They're byte quantities. --- sbin/savecore/savecore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c index eec0a5398e9a..7f376732e27d 100644 --- a/sbin/savecore/savecore.c +++ b/sbin/savecore/savecore.c @@ -480,8 +480,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); } lasthd = mediasize - sectorsize;