gpgtar: Use FD on POSIX.

* tools/gpgtar.c (main): Fix the use of the union.

--

Fixes-commit: 2756147e39
GnuPG-bug-id: 6562
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2023-06-27 14:58:13 +09:00
parent b9b0c18320
commit 631c23b664
No known key found for this signature in database
GPG Key ID: 640114AF89DE6054
1 changed files with 1 additions and 1 deletions

View File

@ -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)