Return to ssh-keygen.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.229, 2013/07/12 05:42:03 | version 1.230, 2013/07/20 01:44:37 | ||
---|---|---|---|
|
|
||
/* we need this for the home * directory. */ | /* we need this for the home * directory. */ | ||
pw = getpwuid(getuid()); | pw = getpwuid(getuid()); | ||
if (!pw) { | if (!pw) { | ||
printf("You don't exist, go away!\n"); | printf("No user exists for uid %lu\n", (u_long)getuid()); | ||
exit(1); | exit(1); | ||
} | } | ||
if (gethostname(hostname, sizeof(hostname)) < 0) { | if (gethostname(hostname, sizeof(hostname)) < 0) { |