Typo: s/herror/perror

Submitted by:	G. Adam Stanislav <adam@redprince.net>
This commit is contained in:
Marc Fonvieille 2005-07-22 08:18:31 +00:00
parent 6898a9706e
commit e98c98f0a9
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=25202

View file

@ -1578,7 +1578,7 @@ int main(int argc, char *argv[]) {
host = (argc &gt; 1) ? (char *)argv[1] : "time.nist.gov";
if ((he = gethostbyname(host)) == NULL) {
herror(host);
perror(host);
return 2;
}