summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRod Smith <rodsmith@rodsbooks.com>2021-10-09 15:52:16 -0400
committerRod Smith <rodsmith@rodsbooks.com>2021-10-09 15:52:16 -0400
commit1e084b3ac2ec8b4b448c2290ed4fa88e4c4212c4 (patch)
treec0c4154b145db7c244dc749f37f42282d1e7ace5
parent1ae2f1769fec6311810a0981669d33b9b20a45e6 (diff)
downloadsgdisk-1e084b3ac2ec8b4b448c2290ed4fa88e4c4212c4.tar.gz
Remove stray debugging code
-rw-r--r--NEWS6
-rw-r--r--gptcl.cc1
2 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 18f6f21..4009a5b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+1.0.9 (?/?/2021):
+-----------------
+
+- Removed stray debugging code that caused "partNum is {x}" to be printed
+ when changing a partition's name with sgdisk (-c/--change-name).
+
1.0.8 (6/9/2021):
-----------------
diff --git a/gptcl.cc b/gptcl.cc
index 65a99e9..ef7156e 100644
--- a/gptcl.cc
+++ b/gptcl.cc
@@ -212,7 +212,6 @@ int GPTDataCL::DoOptions(int argc, char* argv[]) {
partNum = (int) GetInt(partName, 1) - 1;
if (partNum < 0)
partNum = newPartNum;
- cout << "partNum is " << partNum << "\n";
if ((partNum >= 0) && (partNum < (int) GetNumParts())) {
name = GetString(partName, 2);
if (SetName(partNum, (UnicodeString) name.c_str())) {