diff options
| author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2015-02-16 21:35:29 +0000 |
|---|---|---|
| committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2015-02-16 21:35:29 +0000 |
| commit | 46bf2f531700f2921807b3b1b1719023c14c9a1f (patch) | |
| tree | 6b4a2cf3c59a92cf1b7bef4808a87cdfc1e5be26 /lib/libcompat | |
| parent | 3122da88ca6d1f7b90be84d60fafcdda689c6d0c (diff) | |
Notes
Diffstat (limited to 'lib/libcompat')
| -rw-r--r-- | lib/libcompat/4.3/rexec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libcompat/4.3/rexec.c b/lib/libcompat/4.3/rexec.c index 4e01eb65904a..92357aa2cbf3 100644 --- a/lib/libcompat/4.3/rexec.c +++ b/lib/libcompat/4.3/rexec.c @@ -332,10 +332,10 @@ retry: perror(hp->h_name); return (-1); } - if (fd2p == 0) { - (void) write(s, "", 1); - port = 0; - } else { + port = 0; + if (fd2p == 0) + (void) write(s, "", 1); + else { char num[8]; int s2, sin2len; |
