Small cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30328 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2d294045c7
commit
5be48305c2
|
@ -101,8 +101,7 @@ main(int argc, char** argv)
|
||||||
BDiskDeviceRoster roster;
|
BDiskDeviceRoster roster;
|
||||||
BDiskDevice diskDevice;
|
BDiskDevice diskDevice;
|
||||||
BPartition* partition;
|
BPartition* partition;
|
||||||
ret = roster.FindPartitionByVolume(volume, &diskDevice,
|
ret = roster.FindPartitionByVolume(volume, &diskDevice, &partition);
|
||||||
&partition);
|
|
||||||
if (ret != B_OK) {
|
if (ret != B_OK) {
|
||||||
fprintf(stderr, "%s: failed to get partition for device %ld: %s\n",
|
fprintf(stderr, "%s: failed to get partition for device %ld: %s\n",
|
||||||
argv[0], volumeDevice, strerror(ret));
|
argv[0], volumeDevice, strerror(ret));
|
||||||
|
|
Loading…
Reference in New Issue