A few minor bug fixes; backup function now accepts dd output of MBR,
main header, and main partition table, as well as gdisk-generated
backups.
diff --git a/gptpart.cc b/gptpart.cc
index 1cba0a0..283eb3d 100644
--- a/gptpart.cc
+++ b/gptpart.cc
@@ -145,8 +145,9 @@
cout << firstLBA << " ";
cout.width(14);
cout << lastLBA << " ";
- cout << BytesToSI(blockSize * (lastLBA - firstLBA + 1)) << " ";
- for (i = 0; i < 9 - (int) sizeInSI.length(); i++) cout << " ";
+ cout << BytesToSI(blockSize * (lastLBA - firstLBA + 1)) << " ";
+ for (i = 0; i < 10 - (int) sizeInSI.length(); i++)
+ cout << " ";
cout.fill('0');
cout.width(4);
cout.setf(ios::uppercase);