syscall_net: brackets to work around cc65 parsing bug
authorAlan Cox <alan@linux.intel.com>
Thu, 3 Nov 2016 17:48:31 +0000 (17:48 +0000)
committerAlan Cox <alan@linux.intel.com>
Thu, 3 Nov 2016 17:48:31 +0000 (17:48 +0000)
Kernel/syscall_net.c

index 6716274..6ae299f 100644 (file)
@@ -669,6 +669,6 @@ void sock_init(void)
        struct socket *s = sockets;
        uint8_t n = 0;
        while (s < sockets + NSOCKET)
-               s++->s_num = n++;
+               (s++)->s_num = n++;
        netdev_init();
 }