mirror of
https://github.com/ksherlock/profuse.git
synced 2025-01-02 16:29:57 +00:00
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);
|
||||
|
||||
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user