svn commit: r252057 - stable/9/sys/boot/pc98/libpc98
John Baldwin
jhb at FreeBSD.org
Fri Jun 21 15:17:45 UTC 2013
Author: jhb
Date: Fri Jun 21 15:17:44 2013
New Revision: 252057
URL: http://svnweb.freebsd.org/changeset/base/252057
Log:
MFC 250333: Don't pad disk partition sizes with leading zeros.
Modified:
stable/9/sys/boot/pc98/libpc98/biosdisk.c
Directory Properties:
stable/9/sys/ (props changed)
stable/9/sys/boot/ (props changed)
Modified: stable/9/sys/boot/pc98/libpc98/biosdisk.c
==============================================================================
--- stable/9/sys/boot/pc98/libpc98/biosdisk.c Fri Jun 21 12:02:09 2013 (r252056)
+++ stable/9/sys/boot/pc98/libpc98/biosdisk.c Fri Jun 21 15:17:44 2013 (r252057)
@@ -296,7 +296,7 @@ display_size(uint64_t size)
size /= 1024;
unit = 'M';
}
- sprintf(buf, "%.6ld%cB", (long)size, unit);
+ sprintf(buf, "%6ld%cB", (long)size, unit);
return (buf);
}
More information about the svn-src-stable-9
mailing list