40 lines
1.2 KiB
Diff
40 lines
1.2 KiB
Diff
From 1e084b3ac2ec8b4b448c2290ed4fa88e4c4212c4 Mon Sep 17 00:00:00 2001
|
|
From: Rod Smith <rodsmith@rodsbooks.com>
|
|
Date: Sat, 9 Oct 2021 15:52:16 -0400
|
|
Subject: [PATCH] Remove stray debugging code
|
|
|
|
---
|
|
NEWS | 6 ++++++
|
|
gptcl.cc | 1 -
|
|
2 files changed, 6 insertions(+), 1 deletion(-)
|
|
|
|
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())) {
|
|
--
|
|
2.33.0
|
|
|