--- man3/sockatmark.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man3/sockatmark.3 b/man3/sockatmark.3 index 79685c3ed..fc7022216 100644 --- a/man3/sockatmark.3 +++ b/man3/sockatmark.3 @@ -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) -- -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html