Skip to content

Commit ee90d88

Browse files
committed
Packages (Linux): print pkgtool package count in custom module format mode
1 parent f74c643 commit ee90d88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/modules/packages.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "detection/packages/packages.h"
44

55
#define FF_PACKAGES_MODULE_NAME "Packages"
6-
#define FF_PACKAGES_NUM_FORMAT_ARGS 21
6+
#define FF_PACKAGES_NUM_FORMAT_ARGS 22
77

88
void ffPrintPackages(FFinstance* instance)
99
{
@@ -88,6 +88,7 @@ void ffPrintPackages(FFinstance* instance)
8888
{FF_FORMAT_ARG_TYPE_UINT, &counts->port},
8989
{FF_FORMAT_ARG_TYPE_UINT, &counts->scoop},
9090
{FF_FORMAT_ARG_TYPE_UINT, &counts->choco},
91+
{FF_FORMAT_ARG_TYPE_UINT, &counts->pkgtool},
9192
});
9293
}
9394
}

0 commit comments

Comments
 (0)