summaryrefslogtreecommitdiff
path: root/src/tools/oping/oping.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/oping/oping.c')
-rw-r--r--src/tools/oping/oping.c4
1 files changed, 2 insertions, 2 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,