From 738831c50b8a10383bf945283755120f4d68292d Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Tue, 3 Aug 2021 16:34:11 -0400 Subject: [PATCH] lib/sysroot: Fix error message about creating `/var/lib` Reported-by: Seth Arnold --- src/libostree/ostree-sysroot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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