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
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user