diff options
Diffstat (limited to 'src/database.c')
-rw-r--r-- | src/database.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/database.c b/src/database.c index bc17ff2..1d4c573 100644 --- a/src/database.c +++ b/src/database.c @@ -2268,8 +2268,8 @@ int apk_db_install_pkg(struct apk_database *db, APK_SCRIPT_POST_INSTALL : APK_SCRIPT_POST_UPGRADE, script_args); if (r != 0) { - apk_error("%s-%s: Failed to execute post-install/upgrade script", - newpkg->name->name, newpkg->version); + apk_error(PKG_VER_FMT ": Failed to execute post-install/upgrade script", + PKG_VER_PRINTF(newpkg)); } ret_r: free(script_args[1]); |