git-svn-id: https://profuse.googlecode.com/svn/branches/v2@328 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
parent
f373fa436e
commit
8e259ef1f2
|
@ -1025,15 +1025,9 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
unsigned actionCode = command(action);
|
unsigned actionCode = command(action);
|
||||||
|
|
||||||
|
|
||||||
device.reset( Device::BlockDevice::Open(file, commandFlags(actionCode), fmt) );
|
device.reset( Device::BlockDevice::Open(file, commandFlags(actionCode), fmt) );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
volume.reset( new Pascal::VolumeEntry(device.get()));
|
volume.reset( new Pascal::VolumeEntry(device.get()));
|
||||||
|
|
||||||
device.release();
|
device.release();
|
||||||
|
|
||||||
switch (actionCode)
|
switch (actionCode)
|
||||||
|
@ -1070,7 +1064,7 @@ int main(int argc, char **argv)
|
||||||
catch (ProFUSE::Exception& e)
|
catch (ProFUSE::Exception& e)
|
||||||
{
|
{
|
||||||
std::fprintf(stderr, "%s\n", e.what());
|
std::fprintf(stderr, "%s\n", e.what());
|
||||||
std::fprintf(stderr, "%s\n", strerror(e.error()));
|
std::fprintf(stderr, "%s\n", e.errorString());
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue