diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-04-21 09:07:30 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-04-23 15:11:38 +0200 |
commit | 7b87fe4c30c3a5492ba409ebb13b1a5505c00a86 (patch) | |
tree | 076eeb985b8b3d4d152624db34c814fe84256886 /src/portable/portable.c | |
parent | core: fix typos in comment (diff) | |
download | systemd-7b87fe4c30c3a5492ba409ebb13b1a5505c00a86.tar.xz systemd-7b87fe4c30c3a5492ba409ebb13b1a5505c00a86.zip |
various: print the image path when setting up of the loopback device fails
Diffstat (limited to 'src/portable/portable.c')
-rw-r--r-- | src/portable/portable.c | 2 |
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; |