Typo: s/herror/perror
Submitted by: G. Adam Stanislav <adam@redprince.net>
This commit is contained in:
parent
6898a9706e
commit
e98c98f0a9
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=25202
1 changed files with 1 additions and 1 deletions
|
|
@ -1578,7 +1578,7 @@ int main(int argc, char *argv[]) {
|
|||
host = (argc > 1) ? (char *)argv[1] : "time.nist.gov";
|
||||
|
||||
if ((he = gethostbyname(host)) == NULL) {
|
||||
herror(host);
|
||||
perror(host);
|
||||
return 2;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue