diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2018-10-06 11:26:42 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2018-10-12 14:34:58 +0200 |
commit | 02958bba80d7b9c1701f657c75a08c81e243f83b (patch) | |
tree | 9f32bc8c08af310635824127fa5afa1bd5e4b8c5 /src/nm-config.c | |
parent | 08225c5e966ccd867adc93431b3e1ccb8e776178 (diff) | |
download | NetworkManager-02958bba80d7b9c1701f657c75a08c81e243f83b.tar.gz |
all: remove \n endings from log calls
The extra newlines look bad when logging to the console.
https://github.com/NetworkManager/NetworkManager/pull/223
Diffstat (limited to 'src/nm-config.c')
-rw-r--r-- | src/nm-config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nm-config.c b/src/nm-config.c index 0be5b15fbd..812e5df53d 100644 --- a/src/nm-config.c +++ b/src/nm-config.c @@ -938,7 +938,7 @@ read_base_config (GKeyFile *keyfile, } if (!g_error_matches (my_error, G_KEY_FILE_ERROR, G_KEY_FILE_ERROR_NOT_FOUND)) { - _LOGW ("Old default config file invalid: %s\n", + _LOGW ("Old default config file invalid: %s", my_error->message); } g_clear_error (&my_error); @@ -950,7 +950,7 @@ read_base_config (GKeyFile *keyfile, } if (!g_error_matches (my_error, G_KEY_FILE_ERROR, G_KEY_FILE_ERROR_NOT_FOUND)) { - _LOGW ("Default config file invalid: %s\n", + _LOGW ("Default config file invalid: %s", my_error->message); g_propagate_error (error, my_error); return FALSE; @@ -961,7 +961,7 @@ read_base_config (GKeyFile *keyfile, * config file path. */ *out_config_main_file = g_strdup (DEFAULT_CONFIG_MAIN_FILE); - _LOGI ("No config file found or given; using %s\n", + _LOGI ("No config file found or given; using %s", DEFAULT_CONFIG_MAIN_FILE); return TRUE; } |