summaryrefslogtreecommitdiff
path: root/src/bin/evas/evas_cserve2_shm_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/evas/evas_cserve2_shm_debug.c')
-rw-r--r--src/bin/evas/evas_cserve2_shm_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/evas/evas_cserve2_shm_debug.c b/src/bin/evas/evas_cserve2_shm_debug.c
index 10bb48453e..73b13b3e78 100644
--- a/src/bin/evas/evas_cserve2_shm_debug.c
+++ b/src/bin/evas/evas_cserve2_shm_debug.c
@@ -725,8 +725,8 @@ main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
725 725
726 if (isatty(STDOUT_FILENO)) 726 if (isatty(STDOUT_FILENO))
727 { 727 {
728 ioctl(STDOUT_FILENO, TIOCGWINSZ, &w); 728 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &w) == 0)
729 _termsize = w.ws_col; 729 _termsize = w.ws_col;
730 } 730 }
731 731
732 if (argc > 1) 732 if (argc > 1)