[PATCH] add missing newline to debug message

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] add missing newline to debug message

Andrew Gregory
Signed-off-by: Andrew Gregory <[hidden email]>
---
 lib/libalpm/be_sync.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c
index 06f509a6..84a00c0f 100644
--- a/lib/libalpm/be_sync.c
+++ b/lib/libalpm/be_sync.c
@@ -618,7 +618,7 @@ static int sync_db_read(alpm_db_t *db, struct archive *archive,
 
  if(pkg == NULL) {
  _alpm_log(db->handle, ALPM_LOG_DEBUG,
- "entry %s could not be loaded into %s sync database",
+ "entry %s could not be loaded into %s sync database\n",
  entryname, db->treename);
  return -1;
  }
--
2.15.1
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] add missing newline to debug message

Allan McRae
On 08/01/18 10:30, Andrew Gregory wrote:

> Signed-off-by: Andrew Gregory <[hidden email]>
> ---
>  lib/libalpm/be_sync.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c
> index 06f509a6..84a00c0f 100644
> --- a/lib/libalpm/be_sync.c
> +++ b/lib/libalpm/be_sync.c
> @@ -618,7 +618,7 @@ static int sync_db_read(alpm_db_t *db, struct archive *archive,
>  
>   if(pkg == NULL) {
>   _alpm_log(db->handle, ALPM_LOG_DEBUG,
> - "entry %s could not be loaded into %s sync database",
> + "entry %s could not be loaded into %s sync database\n",
>   entryname, db->treename);
>   return -1;
>   }
>

OK.