Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/resize add parens



details:   https://anonhg.NetBSD.org/src/rev/c175747a20dc
branches:  trunk
changeset: 953158:c175747a20dc
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Feb 28 00:44:58 2021 +0000

description:
add parens

diffstat:

 usr.bin/resize/resize.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9e568ec963d3 -r c175747a20dc usr.bin/resize/resize.h
--- a/usr.bin/resize/resize.h   Sun Feb 28 00:43:24 2021 +0000
+++ b/usr.bin/resize/resize.h   Sun Feb 28 00:44:58 2021 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index