Thread (4 messages) flat view 4 messages, 2 authors, 2012-11-14
STALE5032d

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

From: Jan Synacek <hidden>
Date: 2012-11-14 12:57:51
Subsystem: the rest · Maintainer: Linus Torvalds

---
 ping_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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;
-- 
1.7.11.7
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help