Patchwork [1/2] ping,ping6: Add newline to error message.

login
register
mail settings
Submitter Jan Synacek
Date Nov. 14, 2012, 12:57 p.m.
Message ID <1352897836-17603-2-git-send-email-jsynacek@redhat.com>
Download mbox | patch
Permalink /patch/198892/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Jan Synacek - Nov. 14, 2012, 12:57 p.m.
---
 ping_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/ping_common.c b/ping_common.c
index 86dbeaa..1605ca9 100644
--- a/ping_common.c
+++ b/ping_common.c
@@ -265,7 +265,7 @@  void common_options(int ch)
 		char *endp;
 		mark = (int)strtoul(optarg, &endp, 10);
 		if (mark < 0 || *endp != '\0') {
-			fprintf(stderr, "mark cannot be negative");
+			fprintf(stderr, "mark cannot be negative\n");
 			exit(2);
 		}
 		options |= F_MARK;