sockatmark.3: Fix example code
PATCH 1/1 sockatmark.3: Fix example code
---
man3/sockatmark.3 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
man3/sockatmark.3 +0 -0
@@ -129,7 +129,7 @@ and then read the byte of data at the mark:
if (atmark)
break;
- s = read(sockfd, buf, BUF_LEN) <= 0);
+ s = read(sockfd, buf, BUF_LEN);
if (s == \-1)
perror("read");
if (s <= 0)
Signature · 4 lines
-- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html