Usermode/libposix - Fixed compilation error with higher warnings
authorJohn Hodge (sonata) <[email protected]>
Mon, 27 May 2013 11:48:04 +0000 (19:48 +0800)
committerJohn Hodge (sonata) <[email protected]>
Mon, 27 May 2013 11:48:04 +0000 (19:48 +0800)
Usermode/Libraries/libposix.so_src/termios.c

index 57b1b42..32fa9e1 100644 (file)
@@ -66,7 +66,7 @@ int tcsetattr(int fd, int optional_actions, const struct termios *termios_p)
                return -1;
        }
 
-       struct ptymode  mode = {0};
+       struct ptymode  mode = {0,0};
        
        if(termios_p->c_lflag & ICANON)
                mode.InputMode |= PTYIMODE_CANON;

UCC git Repository :: git.ucc.asn.au