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;
|
||||
BDiskDevice diskDevice;
|
||||
BPartition* partition;
|
||||
ret = roster.FindPartitionByVolume(volume, &diskDevice,
|
||||
&partition);
|
||||
ret = roster.FindPartitionByVolume(volume, &diskDevice, &partition);
|
||||
if (ret != B_OK) {
|
||||
fprintf(stderr, "%s: failed to get partition for device %ld: %s\n",
|
||||
argv[0], volumeDevice, strerror(ret));
|
||||
|
Loading…
Reference in New Issue
Block a user