From 4d9740836fb9c622cb8d5e596b7c99605e17d5b8 Mon Sep 17 00:00:00 2001 From: David Maciejak Date: Tue, 5 Mar 2019 19:00:07 +0800 Subject: [PATCH] Remove the extra CR To have the perror log details on the same error line --- hydra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hydra.c b/hydra.c index a81613a..20f4b93 100644 --- a/hydra.c +++ b/hydra.c @@ -648,7 +648,7 @@ void hydra_restore_write(int32_t print_msg) { } if ((f = fopen(RESTOREFILE, "w")) == NULL) { - fprintf(stderr, "[ERROR] Can not create restore file (%s) - \n", RESTOREFILE); + fprintf(stderr, "[ERROR] Can not create restore file (%s) - ", RESTOREFILE); perror(""); process_restore = 0; return;