summaryrefslogtreecommitdiff
path: root/cmd/cmd_rand_libc.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/cmd_rand_libc.c')
-rw-r--r--cmd/cmd_rand_libc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cmd_rand_libc.c b/cmd/cmd_rand_libc.c
index 1860a77..f0bd7a1 100644
--- a/cmd/cmd_rand_libc.c
+++ b/cmd/cmd_rand_libc.c
@@ -35,7 +35,7 @@ void *cmd_rand_libc(void *data)
snprintf(str_integer, 16, "%d ", rand_r(&rand_state));
out_result = sdscat(out_result, str_integer);
}
- out_result = sdscat(out_result,"\n");
+ out_result = sdscat(out_result,"");
snprintf(buf, buf_size, "%s", out_result);
sdsfree(params);