diff options
author | 2015-10-21 16:06:57 +0000 | |
---|---|---|
committer | 2015-10-21 16:06:57 +0000 | |
commit | dc548fa222164f320e06084fcca5a74744c824dd (patch) | |
tree | 23c68435b002185ff5cd039d41bab9c1e59365ec /usr.bin/who | |
parent | Remove a couple of unhelpful defines. (diff) | |
download | wireguard-openbsd-dc548fa222164f320e06084fcca5a74744c824dd.tar.xz wireguard-openbsd-dc548fa222164f320e06084fcca5a74744c824dd.zip |
Style fixes; from Ilya Kaliman
Diffstat (limited to 'usr.bin/who')
-rw-r--r-- | usr.bin/who/who.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/who/who.c b/usr.bin/who/who.c index 2956f398654..7eca651ec02 100644 --- a/usr.bin/who/who.c +++ b/usr.bin/who/who.c @@ -1,4 +1,4 @@ -/* $OpenBSD: who.c,v 1.26 2015/10/12 19:56:47 naddy Exp $ */ +/* $OpenBSD: who.c,v 1.27 2015/10/21 16:06:57 millert Exp $ */ /* $NetBSD: who.c,v 1.4 1994/12/07 04:28:49 jtc Exp $ */ /* @@ -77,7 +77,7 @@ main(int argc, char *argv[]) if (pledge("stdio rpath getpw", NULL) == -1) err(1, "pledge"); - if (mytty = ttyname(0)) { + if ((mytty = ttyname(0))) { /* strip any directory component */ if ((t = strrchr(mytty, '/'))) mytty = t + 1; |