summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/info/show.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_install/info/show.c')
-rw-r--r--usr.sbin/pkg_install/info/show.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/info/show.c b/usr.sbin/pkg_install/info/show.c
index 940e55a..efeb513 100644
--- a/usr.sbin/pkg_install/info/show.c
+++ b/usr.sbin/pkg_install/info/show.c
@@ -179,7 +179,8 @@ show_plist(const char *title, Package *plist, plist_t type, Boolean showall)
default:
cleanup(0);
- errx(2, __FUNCTION__ ": unknown command type %d (%s)", p->type, p->name);
+ errx(2, "%s: unknown command type %d (%s)",
+ __FUNCTION__, p->type, p->name);
break;
}
p = p->next;
OpenPOWER on IntegriCloud