From cbc4e6e3965506f5247c6c35a622047a8d5b98fe Mon Sep 17 00:00:00 2001 From: Duncan Overbruck Date: Wed, 20 Sep 2023 01:53:15 +0200 Subject: [PATCH] bin/xbps-query: fix back default/null values for package formats --- bin/xbps-query/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xbps-query/list.c b/bin/xbps-query/list.c index 48ddba3d..6fda565e 100644 --- a/bin/xbps-query/list.c +++ b/bin/xbps-query/list.c @@ -182,7 +182,7 @@ fmt_pkg_cb(FILE *fp, const struct xbps_fmt_var *var, void *data) return xbps_fmt_print_string(var, revision, 0, fp); } - return 0; + return xbps_fmt_print_object(var, NULL, fp); } static int