summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobin <robin@cvs.openbsd.org>1996-12-23 14:29:47 +0000
committerrobin <robin@cvs.openbsd.org>1996-12-23 14:29:47 +0000
commitb63852fb526a66a8194de83edf121b68328f1bb0 (patch)
tree012321221830fe25ffbbc9625eeac70f63406a28
parent6fde4773b84a105eb720d88ca4d18770f61a2e63 (diff)
Fix assignment/truth-value compiler warning.
-rw-r--r--libexec/telnetd/sys_term.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/telnetd/sys_term.c b/libexec/telnetd/sys_term.c
index a6ef8051ba2..903eebf74c3 100644
--- a/libexec/telnetd/sys_term.c
+++ b/libexec/telnetd/sys_term.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sys_term.c,v 1.4 1996/04/23 03:03:47 deraadt Exp $ */
+/* $OpenBSD: sys_term.c,v 1.5 1996/12/23 14:29:46 robin Exp $ */
/* $NetBSD: sys_term.c,v 1.9 1996/03/20 04:25:53 tls Exp $ */
/*
@@ -39,7 +39,7 @@
static char sccsid[] = "@(#)sys_term.c 8.4+1 (Berkeley) 5/30/95";
static char rcsid[] = "$NetBSD: sys_term.c,v 1.8 1996/02/28 20:38:21 thorpej Exp $";
#else
-static char rcsid[] = "$OpenBSD: sys_term.c,v 1.4 1996/04/23 03:03:47 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: sys_term.c,v 1.5 1996/12/23 14:29:46 robin Exp $";
#endif
#endif /* not lint */
@@ -1527,7 +1527,7 @@ init_env()
char **envp;
envp = envinit;
- if (*envp = getenv("TZ"))
+ if ((*envp = getenv("TZ")))
*envp++ -= 3;
#if defined(CRAY) || defined(__hpux)
else