mirror of git://git.gnupg.org/gnupg.git
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:
parent
b9b0c18320
commit
631c23b664
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue