commit | ba00fed2efd6c0cba60da9afb0ce3dff84fc69f9 | [log] [tgz] |
---|---|---|
author | srs5694 <srs5694@users.sourceforge.net> | Tue Jan 12 18:18:36 2010 -0500 |
committer | srs5694 <srs5694@users.sourceforge.net> | Tue Jan 12 18:18:36 2010 -0500 |
tree | 195d68fe263771efd95eccf4035750efbd975d9b | |
parent | 73ba4794a4b05c4bf4ff191bff2e023e706744fb [diff] [blame] |
sgdisk program, misc. bug fixes
diff --git a/mbr.cc b/mbr.cc index efd6fd3..f51d5c7 100644 --- a/mbr.cc +++ b/mbr.cc
@@ -305,6 +305,11 @@ }// if } // MBRData::WriteMBRData(int fd) +int MBRData::WriteMBRData(char* deviceFilename) { + strcpy(device, deviceFilename); + return WriteMBRData(); +} // MBRData::WriteMBRData(char* deviceFilename) + /******************************************** * * * Functions that display data for the user *