Update winsize.c 1/head
authorShivaji Varma <contact@shivajivarma.com>
Mon, 10 Nov 2014 10:45:24 +0000 (16:15 +0530)
committerShivaji Varma <contact@shivajivarma.com>
Mon, 10 Nov 2014 10:45:24 +0000 (16:15 +0530)
c/winsize.c

index 03c1f7ce1155ba27bb110b1b27614dfbeead6006..3fbb76e894747ec9214aa4706509fb11548125e8 100644 (file)
@@ -3,8 +3,7 @@
 
 static int get_win_size (int fd, struct winsize *win)
 {
-  int err = ioctl (fd, TIOCGWINSZ, (char *) win);
-  return err;
+  return ioctl (fd, TIOCGWINSZ, (char *) win);
 }
 
 int main(void) {
This page took 0.133644 seconds and 4 git commands to generate.