diff options
author | srs5694 <srs5694@users.sourceforge.net> | 2010-01-19 16:17:20 -0500 |
---|---|---|
committer | srs5694 <srs5694@users.sourceforge.net> | 2010-01-19 16:17:20 -0500 |
commit | a6022b0327bb19459c95a0e8242249e00dbcb609 (patch) | |
tree | 7a0d360404ff7f4a0ac368b5d74eb227380f7a69 /bsd.cc | |
parent | 3c0af38237d0f40aaea8233a5cbfdd030a77817d (diff) | |
download | sgdisk-a6022b0327bb19459c95a0e8242249e00dbcb609.tar.gz |
Fixed bug that caused BSD disklabel conversion to fail
Diffstat (limited to 'bsd.cc')
-rw-r--r-- | bsd.cc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -201,6 +201,12 @@ int BSDData::ShowState(void) { return retval; } // BSDData::ShowState() +// Weirdly, this function has stopped working when defined inline, +// but it's OK here.... +int BSDData::IsDisklabel(void) { + return (state == bsd); +} // BSDData::IsDiskLabel() + // Returns the BSD table's partition type code uint8_t BSDData::GetType(int i) { uint8_t retval = 0; // 0 = "unused" |