[PATCH] unix.7: wsfix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Michael,

This is my second patch with git send-email.
It is really simple.
Just testing a message :)

Cheers,
Alex

Signed-off-by: Alejandro Colomar <colomar.6.4.3@xxxxxxxxx>
---
 man7/unix.7 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man7/unix.7 b/man7/unix.7
index 5283a1e58..86a35be7b 100644
--- a/man7/unix.7
+++ b/man7/unix.7
@@ -1089,7 +1089,7 @@ main(int argc, char *argv[])
     addr.sun_family = AF_UNIX;
     strncpy(addr.sun_path, SOCKET_NAME, sizeof(addr.sun_path) \- 1);
 
-    ret = connect (data_socket, (const struct sockaddr *) &addr,
+    ret = connect(data_socket, (const struct sockaddr *) &addr,
                    sizeof(struct sockaddr_un));
     if (ret == \-1) {
         fprintf(stderr, "The server is down.\en");
@@ -1108,7 +1108,7 @@ main(int argc, char *argv[])
 
     /* Request result. */
 
-    strcpy (buffer, "END");
+    strcpy(buffer, "END");
     ret = write(data_socket, buffer, strlen(buffer) + 1);
     if (ret == \-1) {
         perror("write");
-- 
2.28.0




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux