summaryrefslogtreecommitdiff
path: root/gptpart.cc
diff options
context:
space:
mode:
authorsrs5694 <srs5694@users.sourceforge.net>2013-01-09 12:55:40 -0500
committersrs5694 <srs5694@users.sourceforge.net>2013-01-09 12:55:40 -0500
commit0741fa21ac6cb477891ef15f269c8c8f36cac7c6 (patch)
treeb37926ea88396302141f9feeb1806c6bf3ac2455 /gptpart.cc
parentd8eed4629449a325999808a0170dbda53bd4a6df (diff)
downloadsgdisk-0741fa21ac6cb477891ef15f269c8c8f36cac7c6.tar.gz
0.8.6 release.
Diffstat (limited to 'gptpart.cc')
-rw-r--r--gptpart.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gptpart.cc b/gptpart.cc
index 0f5ef02..bbd28ae 100644
--- a/gptpart.cc
+++ b/gptpart.cc
@@ -277,13 +277,13 @@ void GPTPart::ChangeType(void) {
cout << "Current type is '" << GetTypeName() << "'\n";
do {
- cout << "Hex code or GUID (L to show codes, Enter = " << hex << DEFAULT_TYPE << dec << "): ";
+ cout << "Hex code or GUID (L to show codes, Enter = " << hex << DEFAULT_GPT_TYPE << dec << "): ";
line = ReadString();
if ((line[0] == 'L') || (line[0] == 'l')) {
partitionType.ShowAllTypes();
} else {
if (line.length() == 0)
- tempType= DEFAULT_TYPE;
+ tempType = DEFAULT_GPT_TYPE;
else
tempType = line;
} // if/else