From: Jonathan Lebon Date: Tue, 3 Aug 2021 20:34:11 +0000 (-0400) Subject: lib/sysroot: Fix error message about creating `/var/lib` X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~2^2~19^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=738831c50b8a10383bf945283755120f4d68292d;p=ostree.git lib/sysroot: Fix error message about creating `/var/lib` Reported-by: Seth Arnold --- diff --git a/src/libostree/ostree-sysroot.c b/src/libostree/ostree-sysroot.c index 2fcd4323..be5306b7 100644 --- a/src/libostree/ostree-sysroot.c +++ b/src/libostree/ostree-sysroot.c @@ -1790,7 +1790,7 @@ ostree_sysroot_init_osname (OstreeSysroot *self, return glnx_throw_errno_prefix (error, "fchmod %s", "var/tmp"); if (mkdirat (dfd, "var/lib", 0777) < 0) - return glnx_throw_errno_prefix (error, "Creating %s", "var/tmp"); + return glnx_throw_errno_prefix (error, "Creating %s", "var/lib"); /* This needs to be available and properly labeled early during the boot * process (before tmpfiles.d kicks in), so that journald can flush logs from