mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
committed by
Daan De Meyer
parent
4e11b54b31
commit
2d935bbd22
@@ -683,11 +683,11 @@ static int enumerate_partitions(dev_t devnum) {
|
||||
* we don't actually mount anything immediately. */
|
||||
&m);
|
||||
if (r == -ENOPKG) {
|
||||
log_debug_errno(r, "No suitable partition table found, ignoring.");
|
||||
log_debug_errno(r, "No suitable partition table found on block device %s, ignoring.", devname);
|
||||
return 0;
|
||||
}
|
||||
if (r < 0)
|
||||
return log_error_errno(r, "Failed to dissect: %m");
|
||||
return log_error_errno(r, "Failed to dissect partition table of block device %s: %m", devname);
|
||||
|
||||
if (m->partitions[PARTITION_SWAP].found) {
|
||||
k = add_partition_swap(m->partitions + PARTITION_SWAP);
|
||||
|
||||
Reference in New Issue
Block a user