Date: Wed, 31 May 2017 08:43:45 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r319306 - stable/10/sbin/savecore Message-ID: <201705310843.v4V8hjIK023223@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Wed May 31 08:43:45 2017 New Revision: 319306 URL: https://svnweb.freebsd.org/changeset/base/319306 Log: MFC r316742: Clarify units for mediasize and sectorsize in DoFile(..) They're byte quantities. Modified: stable/10/sbin/savecore/savecore.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sbin/savecore/savecore.c ============================================================================== --- stable/10/sbin/savecore/savecore.c Wed May 31 08:42:44 2017 (r319305) +++ stable/10/sbin/savecore/savecore.c Wed May 31 08:43:45 2017 (r319306) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705310843.v4V8hjIK023223>