diff options
Diffstat (limited to 'src/tools/oping')
-rw-r--r-- | src/tools/oping/oping.c | 4 | ||||
-rw-r--r-- | src/tools/oping/oping_server.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/oping/oping.c b/src/tools/oping/oping.c index 8396e261..e36b3bd5 100644 --- a/src/tools/oping/oping.c +++ b/src/tools/oping/oping.c @@ -145,10 +145,10 @@ static int time_mul(const char * rem) else if (strcmp(rem, "d") == 0) return 60 * 60 * 24 * 1000; - printf("Unknown time unit: %s.", rem); + printf("Unknown time unit: %s.\n", rem); usage(); - exit(EXIT_SUCCESS); + exit(EXIT_FAILURE); } int main(int argc, diff --git a/src/tools/oping/oping_server.c b/src/tools/oping/oping_server.c index 10926763..152aa512 100644 --- a/src/tools/oping/oping_server.c +++ b/src/tools/oping/oping_server.c @@ -96,7 +96,7 @@ void * server_thread(void *o) continue; if (ntohl(msg->type) != ECHO_REQUEST) { - printf("Invalid message on fd %d.", fd); + printf("Invalid message on fd %d.\n", fd); continue; } |