Tool hostname: handle potential ENAMETOOLONG from gethostname(3) properly, and print truncated name as appropriate
1 file changed