summaryrefslogtreecommitdiffstats
path: root/libopkg
diff options
context:
space:
mode:
Diffstat (limited to 'libopkg')
-rw-r--r--libopkg/pkg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libopkg/pkg.c b/libopkg/pkg.c
index 235741e..265f554 100644
--- a/libopkg/pkg.c
+++ b/libopkg/pkg.c
@@ -1299,7 +1299,8 @@ pkg_run_script(pkg_t *pkg, const char *script, const char *args)
free(cmd);
if (err) {
- opkg_msg(ERROR, "%s script returned status %d.\n", script, err);
+ opkg_msg(ERROR, "package \"%s\" %s script returned status %d.\n",
+ pkg->name, script, err);
return err;
}