print also the mount point, useful in case it's generated

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16007 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2006-01-19 12:38:14 +00:00
parent 92071609a1
commit 30db9f527d

View File

@ -147,7 +147,9 @@ struct MountVisitor : public BDiskDeviceVisitor {
(readOnly ? B_MOUNT_READ_ONLY : 0));
if (!silent) {
if (error >= B_OK) {
printf("Volume `%s' mounted successfully.\n", name);
BPath mountPoint;
partition->GetMountPoint(&mountPoint);
printf("Volume `%s' mounted successfully at '%s'.\n", name, mountPoint.Path());
} else {
fprintf(stderr, "Failed to mount volume `%s': %s\n",
name, strerror(error));