summaryrefslogtreecommitdiffstats
path: root/libopkg/opkg_install.c
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-14 23:53:10 (EST)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-14 23:53:10 (EST)
commitf0f991d840b00e43f09bfa363ac1e7350098c180 (patch)
tree1ebf35679a50d0d3735f4a4678045a46b17f415d /libopkg/opkg_install.c
parentdb0e8730f2e7b2c584c4c16bf8c32170c5b372e4 (diff)
opkg: output state change messages only at info verbosity level
git-svn-id: http://opkg.googlecode.com/svn/trunk@47 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/opkg_install.c')
-rw-r--r--libopkg/opkg_install.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libopkg/opkg_install.c b/libopkg/opkg_install.c
index 599ae4d..7bdd3ba 100644
--- a/libopkg/opkg_install.c
+++ b/libopkg/opkg_install.c
@@ -854,7 +854,7 @@ int opkg_install_pkg(opkg_conf_t *conf, pkg_t *pkg, int from_upgrade)
pkg_get_installed_replacees(conf, pkg, replacees);
sprintf_alloc (&pkgid, "%s;%s;%s;", pkg->name, pkg->version, pkg->architecture);
- opkg_set_current_state (OPKG_STATE_INSTALLING_PKG, pkgid);
+ opkg_set_current_state (conf, OPKG_STATE_INSTALLING_PKG, pkgid);
free (pkgid);
/* this next section we do with SIGINT blocked to prevent inconsistency between opkg database and filesystem */
@@ -997,7 +997,7 @@ int opkg_install_pkg(opkg_conf_t *conf, pkg_t *pkg, int from_upgrade)
return err;
}
- opkg_set_current_state (OPKG_STATE_NONE, NULL);
+ opkg_set_current_state (conf, OPKG_STATE_NONE, NULL);
}
static int prerm_upgrade_old_pkg(opkg_conf_t *conf, pkg_t *pkg, pkg_t *old_pkg)