aboutsummaryrefslogtreecommitdiff
path: root/lib/libtermcap
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1997-11-29 11:39:31 +0000
committerPeter Wemm <peter@FreeBSD.org>1997-11-29 11:39:31 +0000
commita9876865439e61712b104b1effa021490197596b (patch)
treeb7f9995ba81cdf5c11cbe9899fb3dc893797d122 /lib/libtermcap
parentcf8e0557001232530b0b4651a8be82b97d490ff2 (diff)
downloadsrc-a9876865439e61712b104b1effa021490197596b.tar.gz
src-a9876865439e61712b104b1effa021490197596b.zip
s/geteid/geteuid/ - it's lucky I have a large supply of left-over pointy
hats from Tristan's last birthday party. :-]
Notes
Notes: svn path=/head/; revision=31450
Diffstat (limited to 'lib/libtermcap')
-rw-r--r--lib/libtermcap/termcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libtermcap/termcap.c b/lib/libtermcap/termcap.c
index 0f76a86839ce..0428a45d37fc 100644
--- a/lib/libtermcap/termcap.c
+++ b/lib/libtermcap/termcap.c
@@ -154,7 +154,7 @@ othersyscall:
} else
#endif /* SYS_issetugid */
/* issetugid() not in kernel or undefined - try second best */
- if (getuid() != geteid() || getgid() != getegid())
+ if (getuid() != geteuid() || getgid() != getegid())
strcpy(pathbuf, _PATH_DEF_SEC);
*fname++ = pathbuf; /* tokenize path into vector of names */