diff options
Diffstat (limited to 'usr.bin/fstat')
-rw-r--r-- | usr.bin/fstat/fstat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c index 3612582..1578dd3 100644 --- a/usr.bin/fstat/fstat.c +++ b/usr.bin/fstat/fstat.c @@ -852,10 +852,10 @@ socktrans(sock, i) char shoconn[4], *cp; cp = shoconn; - if (!(so.so_state & SS_CANTRCVMORE)) + if (!(so.so_rcv.sb_state & SBS_CANTRCVMORE)) *cp++ = '<'; *cp++ = '-'; - if (!(so.so_state & SS_CANTSENDMORE)) + if (!(so.so_snd.sb_state & SBS_CANTSENDMORE)) *cp++ = '>'; *cp = '\0'; printf(" %s %lx", shoconn, |