Skip to content

Commit

Permalink
Packages (Linux): print pkgtool package count in custom module format…
Browse files Browse the repository at this point in the history
… mode
  • Loading branch information
CarterLi committed Jul 5, 2023
1 parent f74c643 commit ee90d88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/packages.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "detection/packages/packages.h"

#define FF_PACKAGES_MODULE_NAME "Packages"
#define FF_PACKAGES_NUM_FORMAT_ARGS 21
#define FF_PACKAGES_NUM_FORMAT_ARGS 22

void ffPrintPackages(FFinstance* instance)
{
Expand Down Expand Up @@ -88,6 +88,7 @@ void ffPrintPackages(FFinstance* instance)
{FF_FORMAT_ARG_TYPE_UINT, &counts->port},
{FF_FORMAT_ARG_TYPE_UINT, &counts->scoop},
{FF_FORMAT_ARG_TYPE_UINT, &counts->choco},
{FF_FORMAT_ARG_TYPE_UINT, &counts->pkgtool},
});
}
}

0 comments on commit ee90d88

Please sign in to comment.