aboutsummaryrefslogtreecommitdiffstats
path: root/man7
diff options
context:
space:
mode:
Diffstat (limited to 'man7')
-rw-r--r--man7/unix.73
1 files changed, 1 insertions, 2 deletions
diff --git a/man7/unix.7 b/man7/unix.7
index de8330170f..c08218702a 100644
--- a/man7/unix.7
+++ b/man7/unix.7
@@ -848,7 +848,7 @@ main(int argc, char *argv[])
}
result = 0;
- for(;;) {
+ for (;;) {
/* Wait for next data packet. */
@@ -882,7 +882,6 @@ main(int argc, char *argv[])
sprintf(buffer, "%d", result);
ret = write(data_socket, buffer, BUFFER_SIZE);
-
if (ret == \-1) {
perror("write");
exit(EXIT_FAILURE);