Add missing error return.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34970 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6e441f1497
commit
29aa1bebef
@ -238,6 +238,7 @@ KPartition::UnpublishDevice()
|
||||
if (error != B_OK) {
|
||||
dprintf("KPartition::UnpublishDevice(): Failed to get path for "
|
||||
"partition %ld: %s\n", ID(), strerror(error));
|
||||
return error;
|
||||
}
|
||||
|
||||
error = devfs_unpublish_partition(path.Path());
|
||||
|
Loading…
Reference in New Issue
Block a user