From: Daan De Meyer Date: Wed, 15 May 2024 14:21:45 +0000 (+0200) Subject: repart: Improve error message X-Git-Tag: v256-rc3~58^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0b6891abf50b968c9354c7117bd4263e70405d8a;p=thirdparty%2Fsystemd.git repart: Improve error message --- diff --git a/src/partition/repart.c b/src/partition/repart.c index 7f7b68f9ff4..45f0ab15b5a 100644 --- a/src/partition/repart.c +++ b/src/partition/repart.c @@ -7819,7 +7819,7 @@ static int find_root(Context *context) { if (r == -EUCLEAN) return btrfs_log_dev_root(LOG_ERR, r, p); if (r != -ENODEV) - return log_error_errno(r, "Failed to determine backing device of %s: %m", p); + return log_error_errno(r, "Failed to determine backing device of %s%s: %m", strempty(arg_root), p); } else return 0; }