From f088c430e35d8b97d11aa38c5c78a72931ec7bad Mon Sep 17 00:00:00 2001 From: Nick Terrell Date: Thu, 20 Jan 2022 22:46:45 -0800 Subject: [PATCH] [datagen] Remove extra newline printed `datagen` was printing a `\n` even when it had no other output. Raise the output level for the final `\n` to the minimum output level used. This minor bug was caught by the new testing framework. --- tests/datagencli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/datagencli.c b/tests/datagencli.c index ecc05f95f..7300fdb76 100644 --- a/tests/datagencli.c +++ b/tests/datagencli.c @@ -124,7 +124,7 @@ int main(int argc, const char** argv) DISPLAYLEVEL(3, "Seed = %u \n", (unsigned)seed); RDG_genStdout(size, (double)probaU32/100, litProba, seed); - DISPLAYLEVEL(1, "\n"); + DISPLAYLEVEL(3, "\n"); return 0; }