summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-11-29 11:39:31 +0000
committerpeter <peter@FreeBSD.org>1997-11-29 11:39:31 +0000
commit3d7b8e55f414c0f6368139fe1b93a9d53715e204 (patch)
tree454f480a2089f18248b3257c94bdd5577aca6b70 /lib
parent0f5c6ba2fe6220b669a693bd6f6a1ba5fe7a0b00 (diff)
downloadFreeBSD-src-3d7b8e55f414c0f6368139fe1b93a9d53715e204.zip
FreeBSD-src-3d7b8e55f414c0f6368139fe1b93a9d53715e204.tar.gz
s/geteid/geteuid/ - it's lucky I have a large supply of left-over pointy
hats from Tristan's last birthday party. :-]
Diffstat (limited to 'lib')
-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 0f76a86..0428a45 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 */
OpenPOWER on IntegriCloud