git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] test-genrandom: Add newline to usage string

From
Stephen Boyd <bebarino@gmail.com>
Date
Apr 23, 2009, 07:25 UTC
Message-ID
<1240471533-21124-1-git-send-email-bebarino@gmail.com>

A minor fix to place the terminal input on a new line if test-genrandom is run with no arguments.

Signed-off-by: Stephen Boyd <bebarino@gmail.com>
---
 test-genrandom.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/test-genrandom.c b/test-genrandom.c
index 8cefe6c..b81ad67 100644
--- a/test-genrandom.c
+++ b/test-genrandom.c
@@ -13,7 +13,7 @@ int main(int argc, char *argv[])
 	unsigned char *c;
 
 	if (argc < 2 || argc > 3) {
-		fprintf( stderr, "Usage: %s <seed_string> [<size>]", argv[0]);
+		fprintf( stderr, "Usage: %s <seed_string> [<size>]\n", argv[0]);
 		return 1;
 	}
 
-- 
1.6.2.3
Message 1 of 1 in “test-genrandom: Add newline to usage string”
  1. test-genrandom: Add newline to usage stringStephen Boyd, Apr 23, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.