svn commit: r360673 - stable/11/libexec/rshd
Dimitry Andric
dim at FreeBSD.org
Tue May 5 20:53:45 UTC 2020
Author: dim
Date: Tue May 5 20:53:45 2020
New Revision: 360673
URL: https://svnweb.freebsd.org/changeset/base/360673
Log:
Fix misleading indentation warning:
libexec/rshd/rshd.c:442:5: error: misleading indentation; statement is not part of the previous 'else' [-Werror,-Wmisleading-indentation]
ioctl(pv[0], FIONBIO, (char *)&one);
^
libexec/rshd/rshd.c:440:4: note: previous statement is here
else
^
Direct commit to stable/11, since rshd has been removed from FreeBSD 12
and later.
Modified:
stable/11/libexec/rshd/rshd.c
Modified: stable/11/libexec/rshd/rshd.c
==============================================================================
--- stable/11/libexec/rshd/rshd.c Tue May 5 20:45:54 2020 (r360672)
+++ stable/11/libexec/rshd/rshd.c Tue May 5 20:53:45 2020 (r360673)
@@ -439,7 +439,7 @@ doit(struct sockaddr *fromp)
nfd = pv[0];
else
nfd = s;
- ioctl(pv[0], FIONBIO, (char *)&one);
+ ioctl(pv[0], FIONBIO, (char *)&one);
/* should set s nbio! */
nfd++;
More information about the svn-src-all
mailing list