13 lines
500 B
Diff
13 lines
500 B
Diff
|
diff -up mtr-0.75/mtr.c.rh516603 mtr-0.75/mtr.c
|
||
|
--- mtr-0.75/mtr.c.rh516603 2009-12-07 14:27:27.281726685 +0100
|
||
|
+++ mtr-0.75/mtr.c 2009-12-07 14:28:32.574226121 +0100
|
||
|
@@ -402,7 +402,7 @@ int main(int argc, char **argv)
|
||
|
hints.ai_socktype = SOCK_DGRAM;
|
||
|
error = getaddrinfo( Hostname, NULL, &hints, &res );
|
||
|
if ( error ) {
|
||
|
- perror( gai_strerror(error) );
|
||
|
+ fprintf(stderr, "%s\n", gai_strerror(error));
|
||
|
exit( EXIT_FAILURE );
|
||
|
}
|
||
|
/* Convert the first addrinfo into a hostent. */
|