[PATCHv2,1/2] config: Add \n at the end of info msg

Submitted by Radostin Stoyanov on Jan. 20, 2019, 2:42 p.m.

Details

Message ID 20190120144224.2612-1-rstoyanov1@gmail.com
State New
Series "Series without cover letter"
Headers show

Commit Message

Radostin Stoyanov Jan. 20, 2019, 2:42 p.m.
Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com>
---
 criu/config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/criu/config.c b/criu/config.c
index b6ecbfb64..89afdd748 100644
--- a/criu/config.c
+++ b/criu/config.c
@@ -170,7 +170,7 @@  static int next_config(char **argv, char ***_argv, bool no_default_config,
 				break;
 			home_dir = getenv("HOME");
 			if (!home_dir) {
-				pr_info("Unable to get $HOME directory, local configuration file will not be used.");
+				pr_info("Unable to get $HOME directory, local configuration file will not be used.\n");
 			} else {
 				snprintf(local_filepath, PATH_MAX, "%s/%s%s",
 						home_dir, USER_CONFIG_DIR, DEFAULT_CONFIG_FILENAME);

Comments

Adrian Reber Jan. 21, 2019, 4:04 p.m.
Series Acked-by: Adrian Reber <areber@redhat.com>

On Sun, Jan 20, 2019 at 02:42:23PM +0000, Radostin Stoyanov wrote:
> Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com>
> ---
>  criu/config.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/criu/config.c b/criu/config.c
> index b6ecbfb64..89afdd748 100644
> --- a/criu/config.c
> +++ b/criu/config.c
> @@ -170,7 +170,7 @@ static int next_config(char **argv, char ***_argv, bool no_default_config,
>  				break;
>  			home_dir = getenv("HOME");
>  			if (!home_dir) {
> -				pr_info("Unable to get $HOME directory, local configuration file will not be used.");
> +				pr_info("Unable to get $HOME directory, local configuration file will not be used.\n");
>  			} else {
>  				snprintf(local_filepath, PATH_MAX, "%s/%s%s",
>  						home_dir, USER_CONFIG_DIR, DEFAULT_CONFIG_FILENAME);
> -- 
> 2.20.1