Author: jhb Date: Tue May 7 18:08:49 2013 New Revision: 250333 URL: http://svnweb.freebsd.org/changeset/base/250333
Log: Don't pad disk partition sizes with leading zeros. This was already fixed in a different way by the new disk code used for other platforms. MFC after: 1 week Modified: head/sys/boot/pc98/libpc98/biosdisk.c Modified: head/sys/boot/pc98/libpc98/biosdisk.c ============================================================================== --- head/sys/boot/pc98/libpc98/biosdisk.c Tue May 7 13:46:22 2013 (r250332) +++ head/sys/boot/pc98/libpc98/biosdisk.c Tue May 7 18:08:49 2013 (r250333) @@ -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); } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"