diff --git a/src/fat16.cc b/src/fat16.cc index 74c9ca52..274f1515 100644 --- a/src/fat16.cc +++ b/src/fat16.cc @@ -241,11 +241,11 @@ void fat16::read_uuid(Partition& partition) bool fat16::write_uuid( const Partition & partition, OperationDetail & operationdetail ) { - Glib::ustring cmd = "mlabel -s -n :: -i " + Glib::shell_quote( partition.get_path() ); - - return ! execute_command( cmd, operationdetail, EXEC_CHECK_STATUS ); + return ! execute_command("mlabel -n -i " + Glib::shell_quote(partition.get_path()) + " ::", + operationdetail, EXEC_CHECK_STATUS); } + bool fat16::create( const Partition & new_partition, OperationDetail & operationdetail ) { Glib::ustring fat_size = specific_type == FS_FAT16 ? "16" : "32" ;