summaryrefslogtreecommitdiffstats
path: root/libopkg/pkg.c
diff options
context:
space:
mode:
Diffstat (limited to 'libopkg/pkg.c')
-rw-r--r--libopkg/pkg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libopkg/pkg.c b/libopkg/pkg.c
index be25c5c..278b727 100644
--- a/libopkg/pkg.c
+++ b/libopkg/pkg.c
@@ -478,8 +478,8 @@ set_flags_from_control(opkg_conf_t *conf, pkg_t *pkg){
fp = fopen(file_name, "r");
if (fp == NULL) {
- opkg_message(conf, OPKG_ERROR, "fopen(%s): %s\n",
- file_name, strerror(errno));
+ opkg_message(conf, OPKG_ERROR, "%s: fopen(%s): %s\n",
+ __FUNCTION__, file_name, strerror(errno));
free(file_name);
return;
}