summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-26 19:41:28 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-26 19:41:28 (EST)
commitcc67a2a72b7b9eb1477c7afdff2ab4409689bb05 (patch)
tree5d112e8e24f487d7829c6f3593ae27cf5216e2f5
parent677c7152744313ef9b1195862dbf1761b5e3416d (diff)
Add __FUNCTION__ to the error mesage.
git-svn-id: http://opkg.googlecode.com/svn/trunk@389 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
-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;
}