diff options
-rw-r--r-- | libopkg/opkg_install.c | 4 | ||||
-rw-r--r-- | libopkg/opkg_remove.c | 2 | ||||
-rw-r--r-- | libopkg/pkg.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/libopkg/opkg_install.c b/libopkg/opkg_install.c index eaa1edc..68c17b3 100644 --- a/libopkg/opkg_install.c +++ b/libopkg/opkg_install.c @@ -204,8 +204,8 @@ verify_pkg_installable(pkg_t *pkg) pkg_size_kbs = (pkg->installed_size + 1023)/1024; if (pkg_size_kbs >= kbs_available) { - opkg_msg(ERROR, "Only have %dkb available on filesystem %s, " - "pkg %s needs %d\n", + opkg_msg(ERROR, "Only have %ldkb available on filesystem %s, " + "pkg %s needs %ld\n", kbs_available, root_dir, pkg->name, pkg_size_kbs); return -1; } diff --git a/libopkg/opkg_remove.c b/libopkg/opkg_remove.c index 1ed2dab..e2a63e1 100644 --- a/libopkg/opkg_remove.c +++ b/libopkg/opkg_remove.c @@ -363,7 +363,7 @@ remove_data_files_and_list(pkg_t *pkg) } if (!conf->noaction) { - opkg_msg(INFO, "Deleting %s.\n", file_name, conf->noaction); + opkg_msg(INFO, "Deleting %s.\n", file_name); unlink(file_name); } else opkg_msg(INFO, "Not deleting %s. (noaction)\n", diff --git a/libopkg/pkg.c b/libopkg/pkg.c index 1606eaa..235741e 100644 --- a/libopkg/pkg.c +++ b/libopkg/pkg.c @@ -462,7 +462,7 @@ set_flags_from_control(pkg_t *pkg){ fp = fopen(file_name, "r"); if (fp == NULL) { - opkg_perror(ERROR, "Failed to open %s"); + opkg_perror(ERROR, "Failed to open %s", file_name); free(file_name); return; } |