[Libosinfo] [PATCH osinfo-db-tools 7/7] path: Add a "\n" to the error message

Christophe Fergeau cfergeau at redhat.com
Fri Sep 21 10:00:23 UTC 2018


Hey,

Fwiw, I'd squash all these g_printerr messages.

Acked-by: Christophe Fergeau <cfergeau at redhat.com>
to all the g_printerr + \n patches, regardless of squashing them or not.

Christophe

On Fri, Sep 21, 2018 at 11:13:48AM +0200, Fabiano Fidêncio wrote:
> Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
> ---
>  tools/osinfo-db-path.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/osinfo-db-path.c b/tools/osinfo-db-path.c
> index 3bab4b5..7055c5d 100644
> --- a/tools/osinfo-db-path.c
> +++ b/tools/osinfo-db-path.c
> @@ -90,7 +90,7 @@ gint main(gint argc, gchar **argv)
>      if (custom)
>          locs++;
>      if (locs > 1) {
> -        g_printerr(_("Only one of --user, --local, --system & --dir can be used"));
> +        g_printerr(_("Only one of --user, --local, --system & --dir can be used\n"));
>          goto error;
>      }
>  
> -- 
> 2.17.1
> 
> _______________________________________________
> Libosinfo mailing list
> Libosinfo at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20180921/adb2c190/attachment.sig>


More information about the Libosinfo mailing list