fs_mount_volume() now returns a dev_t as well - changed mount/mountvolume to take
that into account as well (they were reporting an error even though everything went fine). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14450 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -143,7 +143,7 @@ struct MountVisitor : public BDiskDeviceVisitor {
|
||||
status_t error = partition->Mount(NULL,
|
||||
(readOnly ? B_MOUNT_READ_ONLY : 0));
|
||||
if (!silent) {
|
||||
if (error == B_OK) {
|
||||
if (error >= B_OK) {
|
||||
printf("Volume `%s' mounted successfully.\n", name);
|
||||
} else {
|
||||
fprintf(stderr, "Failed to mount volume `%s': %s\n",
|
||||
|
||||
Reference in New Issue
Block a user