From cf603f20243c2fef0623741e4cd334a07727354a Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 26 Mar 2018 12:24:31 -0400 Subject: [PATCH] fixup! lib/deploy: Port final bootconfig writing to new style --- src/libostree/ostree-sysroot-deploy.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libostree/ostree-sysroot-deploy.c b/src/libostree/ostree-sysroot-deploy.c index 15f9e18d46..927809e93b 100644 --- a/src/libostree/ostree-sysroot-deploy.c +++ b/src/libostree/ostree-sysroot-deploy.c @@ -2241,8 +2241,7 @@ ostree_sysroot_write_deployments_with_options (OstreeSysroot *self, * jump in and open a file there. See above TODO * around doing this in a new mount namespace. */ - int errsv = errno; - g_printerr ("warning: Failed to remount /boot read-only: %s\n", strerror (errsv)); + g_printerr ("warning: Failed to remount /boot read-only: %s\n", strerror (errno)); } } if (!success)