summaryrefslogtreecommitdiff
path: root/parttypes.cc
diff options
context:
space:
mode:
authorsrs5694 <srs5694@users.sourceforge.net>2011-06-10 01:16:51 -0400
committersrs5694 <srs5694@users.sourceforge.net>2011-06-10 01:16:51 -0400
commit6aae2a9b70e9f88926baad94c1eea40e0b534f01 (patch)
tree1e6d2e25970f415091b8f6518eb1f6d8e0988847 /parttypes.cc
parent699941e25a1fcf0beec124203747c8ed20842989 (diff)
downloadsgdisk-6aae2a9b70e9f88926baad94c1eea40e0b534f01.tar.gz
Miscellaneous bug fixes.
Diffstat (limited to 'parttypes.cc')
-rw-r--r--parttypes.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/parttypes.cc b/parttypes.cc
index 662a278..8ccc482 100644
--- a/parttypes.cc
+++ b/parttypes.cc
@@ -195,6 +195,8 @@ int PartType::AddType(uint16_t mbrType, const char * guidData, const char * name
} // if/else
lastType = tempType;
} else {
+ cerr << "Unable to allocate memory in PartType::AddType()! Partition type list will\n";
+ cerr << "be incomplete!\n";
allOK = 0;
} // if/else
return allOK;