Return to ssh-keygen.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.427, 2020/12/20 23:36:51 | version 1.428, 2021/03/12 03:43:40 | ||
---|---|---|---|
|
|
||
pw = getpwuid(getuid()); | pw = getpwuid(getuid()); | ||
if (!pw) | if (!pw) | ||
fatal("No user exists for uid %lu", (u_long)getuid()); | fatal("No user exists for uid %lu", (u_long)getuid()); | ||
pw = pwcopy(pw); | |||
if (gethostname(hostname, sizeof(hostname)) == -1) | if (gethostname(hostname, sizeof(hostname)) == -1) | ||
fatal("gethostname: %s", strerror(errno)); | fatal("gethostname: %s", strerror(errno)); | ||