Small cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30328 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2009-04-22 14:56:10 +00:00
parent 2d294045c7
commit 5be48305c2
1 changed files with 1 additions and 2 deletions

View File

@ -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));