diff options
author | NIIBE Yutaka <[email protected]> | 2023-06-27 05:58:13 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2023-06-27 05:58:13 +0000 |
commit | 631c23b6640450c63bcab5e45f79d5ab8c8a930f (patch) | |
tree | ff8a9bad7d8c497283d1bbdf49ad7a528d6b8913 | |
parent | common,gpg,sm,tools: Don't remove translate_sys2libc_fd_int. (diff) | |
download | gnupg-631c23b6640450c63bcab5e45f79d5ab8c8a930f.tar.gz gnupg-631c23b6640450c63bcab5e45f79d5ab8c8a930f.zip |
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 <[email protected]>
-rw-r--r-- | tools/gpgtar.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |