aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-03-07 20:02:22 +0800
committerJia Tan <jiat0218@gmail.com>2023-03-07 20:02:22 +0800
commit01587dda2a8f13fef7e12fd624e6d05da5f9624f (patch)
treec3157ba295cddaf2c570746abe5ef83f33a62e62 /src
parentxz: Add warning if Capsicum sandbox system calls are unsupported. (diff)
downloadxz-01587dda2a8f13fef7e12fd624e6d05da5f9624f.tar.xz
xz: Fix -Wunused-label in io_sandbox_enter().
Thanks to Xin Li for recommending the fix.
Diffstat (limited to 'src')
-rw-r--r--src/xz/file_io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xz/file_io.c b/src/xz/file_io.c
index 1a7dac13..bc4f933d 100644
--- a/src/xz/file_io.c
+++ b/src/xz/file_io.c
@@ -243,9 +243,9 @@ capsicum_error:
sandbox_allowed = false;
return;
}
-#endif
-
+#else
error:
+#endif
message_fatal(_("Failed to enable the sandbox"));
}
#endif // ENABLE_SANDBOX