blockdev-util: add partscan check function that takes an sd_device*
This commit is contained in:
@@ -65,7 +65,7 @@ TEST(partscan_enabled) {
|
||||
continue;
|
||||
}
|
||||
|
||||
r = blockdev_partscan_enabled(fd);
|
||||
r = blockdev_partscan_enabled_fd(fd);
|
||||
if (r < 0) {
|
||||
log_warning_errno(r, "Failed to determine if block device '%s' has partition scanning enabled, skipping: %m", name);
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user