summaryrefslogtreecommitdiff
path: root/src/portable
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-04-21 09:07:30 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-04-23 15:11:38 +0200
commit7b87fe4c30c3a5492ba409ebb13b1a5505c00a86 (patch)
tree076eeb985b8b3d4d152624db34c814fe84256886 /src/portable
parent409607c111851b1c24c3c67132bfb241a158fe9c (diff)
downloadsystemd-7b87fe4c30c3a5492ba409ebb13b1a5505c00a86.tar.gz
various: print the image path when setting up of the loopback device fails
Diffstat (limited to 'src/portable')
-rw-r--r--src/portable/portable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/portable.c b/src/portable/portable.c
index 0799bff53d..53c4d8e25b 100644
--- a/src/portable/portable.c
+++ b/src/portable/portable.c
@@ -376,7 +376,7 @@ static int portable_extract_by_path(
return r;
} else if (r < 0)
- return log_debug_errno(r, "Failed to set up loopback device: %m");
+ return log_debug_errno(r, "Failed to set up loopback device for %s: %m", path);
else {
_cleanup_(dissected_image_unrefp) DissectedImage *m = NULL;
_cleanup_(rmdir_and_freep) char *tmpdir = NULL;