summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/lib/plist.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_install/lib/plist.c')
-rw-r--r--usr.sbin/pkg_install/lib/plist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/lib/plist.c b/usr.sbin/pkg_install/lib/plist.c
index 0f7a010..603588e 100644
--- a/usr.sbin/pkg_install/lib/plist.c
+++ b/usr.sbin/pkg_install/lib/plist.c
@@ -275,7 +275,7 @@ read_plist(Package *pkg, FILE *fp)
cmd = plist_cmd(pline + 1, &cp);
if (cmd == FAIL) {
cleanup(0);
- errx(2, "%s: bad command '%s'", __FUNCTION__, pline);
+ errx(2, "%s: bad command '%s'", __func__, pline);
}
if (*cp == '\0') {
cp = NULL;
@@ -384,7 +384,7 @@ write_plist(Package *pkg, FILE *fp)
default:
cleanup(0);
- errx(2, "%s: unknown command type %d (%s)", __FUNCTION__,
+ errx(2, "%s: unknown command type %d (%s)", __func__,
plist->type, plist->name);
break;
}
OpenPOWER on IntegriCloud