diff options
Diffstat (limited to 'man7/unix.7')
| -rw-r--r-- | man7/unix.7 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/man7/unix.7 b/man7/unix.7 index 30b0e754d4..f61b514240 100644 --- a/man7/unix.7 +++ b/man7/unix.7 @@ -1063,7 +1063,6 @@ int main(int argc, char *argv[]) { struct sockaddr_un addr; - int i; int ret; int data_socket; char buffer[BUFFER_SIZE]; @@ -1098,7 +1097,7 @@ main(int argc, char *argv[]) /* Send arguments. */ - for (i = 1; i < argc; ++i) { + for (int i = 1; i < argc; ++i) { ret = write(data_socket, argv[i], strlen(argv[i]) + 1); if (ret == \-1) { perror("write"); |
