aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/pkg_cleanup/Makefile1
-rw-r--r--ports-mgmt/pkg_cleanup/files/pkg_cleanup.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ports-mgmt/pkg_cleanup/Makefile b/ports-mgmt/pkg_cleanup/Makefile
index 25d22ec83b03..e8ea64828409 100644
--- a/ports-mgmt/pkg_cleanup/Makefile
+++ b/ports-mgmt/pkg_cleanup/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pkg_cleanup
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= ports-mgmt
DISTFILES=
diff --git a/ports-mgmt/pkg_cleanup/files/pkg_cleanup.c b/ports-mgmt/pkg_cleanup/files/pkg_cleanup.c
index 1027557759d3..1f191676ed46 100644
--- a/ports-mgmt/pkg_cleanup/files/pkg_cleanup.c
+++ b/ports-mgmt/pkg_cleanup/files/pkg_cleanup.c
@@ -208,7 +208,7 @@ int remove_ports(void)
pid_t child;
int status;
- args=(char **)malloc(menulen+2 * sizeof(char *));
+ args=(char **)malloc((menulen+2) * sizeof(char *));
if(!args) {
init_dialog();
dialog_msgbox("ERROR", "Can not allocate memory for package list!", 5, 45, TRUE);