summaryrefslogtreecommitdiff
path: root/src/gpt-auto-generator/gpt-auto-generator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpt-auto-generator/gpt-auto-generator.c')
-rw-r--r--src/gpt-auto-generator/gpt-auto-generator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpt-auto-generator/gpt-auto-generator.c b/src/gpt-auto-generator/gpt-auto-generator.c
index 92eef36b4d..458fd054ef 100644
--- a/src/gpt-auto-generator/gpt-auto-generator.c
+++ b/src/gpt-auto-generator/gpt-auto-generator.c
@@ -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);