Module Name: src Committed By: christos Date: Sun Feb 28 00:44:58 UTC 2021
Modified Files: src/usr.bin/resize: resize.h Log Message: add parens To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/usr.bin/resize/resize.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/resize/resize.h diff -u src/usr.bin/resize/resize.h:1.1 src/usr.bin/resize/resize.h:1.2 --- src/usr.bin/resize/resize.h:1.1 Sat Feb 27 10:36:39 2021 +++ src/usr.bin/resize/resize.h Sat Feb 27 19:44:58 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: resize.h,v 1.1 2021/02/27 15:36:39 christos Exp $ */ +/* $NetBSD: resize.h,v 1.2 2021/02/28 00:44:58 christos Exp $ */ /*- * Copyright (c) 2021 The NetBSD Foundation, Inc. @@ -58,7 +58,7 @@ #define TTYSIZE_STRUCT struct winsize #define TTYSIZE_ROWS(ws) (ws).ws_row #define TTYSIZE_COLS(ws) (ws).ws_col -#define SET_TTYSIZE(fd, ws) ioctl((fd), TIOCSWINSZ, &ws) +#define SET_TTYSIZE(fd, ws) ioctl((fd), TIOCSWINSZ, &(ws)) #define x_basename(a) basename(a) #define x_strdup(a) estrdup(a)