git-svn-id: https://profuse.googlecode.com/svn/branches/v2@328 aa027e90-d47c-11dd-86d7-074df07e0730

This commit is contained in:
ksherlock 2011-02-16 03:25:34 +00:00
parent f373fa436e
commit 8e259ef1f2
1 changed files with 1 additions and 7 deletions

View File

@ -1025,15 +1025,9 @@ int main(int argc, char **argv)
unsigned actionCode = command(action);
device.reset( Device::BlockDevice::Open(file, commandFlags(actionCode), fmt) );
volume.reset( new Pascal::VolumeEntry(device.get()));
device.release();
switch (actionCode)
@ -1070,7 +1064,7 @@ int main(int argc, char **argv)
catch (ProFUSE::Exception& e)
{
std::fprintf(stderr, "%s\n", e.what());
std::fprintf(stderr, "%s\n", strerror(e.error()));
std::fprintf(stderr, "%s\n", e.errorString());
}
return 0;