mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-24 10:44:53 +00:00
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:
parent
cf8e055700
commit
a987686543
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31450
|
@ -154,7 +154,7 @@ tgetent(char *bp, const char *name)
|
||||||
} else
|
} else
|
||||||
#endif /* SYS_issetugid */
|
#endif /* SYS_issetugid */
|
||||||
/* issetugid() not in kernel or undefined - try second best */
|
/* issetugid() not in kernel or undefined - try second best */
|
||||||
if (getuid() != geteid() || getgid() != getegid())
|
if (getuid() != geteuid() || getgid() != getegid())
|
||||||
strcpy(pathbuf, _PATH_DEF_SEC);
|
strcpy(pathbuf, _PATH_DEF_SEC);
|
||||||
|
|
||||||
*fname++ = pathbuf; /* tokenize path into vector of names */
|
*fname++ = pathbuf; /* tokenize path into vector of names */
|
||||||
|
|
Loading…
Reference in a new issue