summaryrefslogtreecommitdiff
path: root/gptpart.cc
diff options
context:
space:
mode:
authorsrs5694 <srs5694@users.sourceforge.net>2012-12-15 01:55:21 -0500
committersrs5694 <srs5694@users.sourceforge.net>2012-12-15 01:55:21 -0500
commitd8eed4629449a325999808a0170dbda53bd4a6df (patch)
tree0fc11fed0800001c44f07e90877b557c2c417743 /gptpart.cc
parent4307ef2e863cbec357df56197046c6b679fc5d2d (diff)
downloadsgdisk-d8eed4629449a325999808a0170dbda53bd4a6df.tar.gz
Added partition type codes; new verification check.
Diffstat (limited to 'gptpart.cc')
-rw-r--r--gptpart.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gptpart.cc b/gptpart.cc
index 7ac629a..0f5ef02 100644
--- a/gptpart.cc
+++ b/gptpart.cc
@@ -114,6 +114,7 @@ void GPTPart::SetName(const string & theName) {
// Set the name for a partition to theName, using a Unicode string as
// input.
void GPTPart::SetName(const UnicodeString & theName) {
+ cout << "Entering GPTPart::SetName(const UnicodeString...)\n";
if (theName.isBogus()) {
cerr << "Bogus UTF-16 name found in GPTPart::SetName()! Name not changed!\n";
} else {
@@ -138,7 +139,7 @@ void GPTPart::SetName(const string & theName) {
memset(name, 0, NAME_SIZE);
for (i = 0; i < length; i++)
name[i * 2] = theName[i];
-} // GPTPart::SetName(), Windows version
+} // GPTPart::SetName(), ASCII version
#endif
// Set the name for the partition based on the current GUID partition type