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 *