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:
Axel Dörfler
2005-10-20 13:03:50 +00:00
parent 9949213a25
commit da6d1a7022
6 changed files with 24 additions and 23 deletions
+1 -1
View File
@@ -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",