From 70a9d87d8d31d266474b4d1b1d4781d6df41fab3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=92=B6l=C3=AF=20P=E2=98=AElatel?= Date: Sat, 17 Jul 2021 15:00:12 +0200 Subject: [PATCH] syd: use STDERR_FILENO rather than hardcoding 2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ⓐlï P☮latel --- src/syd-box.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syd-box.c b/src/syd-box.c index a969748c..e44d907e 100644 --- a/src/syd-box.c +++ b/src/syd-box.c @@ -3095,7 +3095,7 @@ int main(int argc, char **argv) const char *env; if ((env = secure_getenv(SYDBOX_DUMP_ENV))) - dump_set_fd(2); + dump_set_fd(STDERR_FILENO); #if 0 if ((env = secure_getenv(SYDBOX_CONFIG_ENV))) config_parse_spec(env); -- 2.34.2