s/geteid/geteuid/ - it's lucky I have a large supply of left-over pointy

hats from Tristan's last birthday party. :-]
This commit is contained in:
Peter Wemm 1997-11-29 11:39:31 +00:00
parent cf8e055700
commit a987686543
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31450

View file

@ -154,7 +154,7 @@ tgetent(char *bp, const char *name)
} 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 */