From 631c23b6640450c63bcab5e45f79d5ab8c8a930f Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Tue, 27 Jun 2023 14:58:13 +0900 Subject: [PATCH] gpgtar: Use FD on POSIX. * tools/gpgtar.c (main): Fix the use of the union. -- Fixes-commit: 2756147e392c8f58fc79db6b9420b306b6ddd082 GnuPG-bug-id: 6562 Signed-off-by: NIIBE Yutaka --- tools/gpgtar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gpgtar.c b/tools/gpgtar.c index dd269043f..01efacc7d 100644 --- a/tools/gpgtar.c +++ b/tools/gpgtar.c @@ -544,7 +544,7 @@ main (int argc, char **argv) syshd.u.handle = hd; #else syshd.type = ES_SYSHD_FD; - syshd.u.handle = fd; + syshd.u.fd = fd; #endif opt.status_stream = es_sysopen (&syshd, "w"); if (opt.status_stream)