diff options
author | alfred <alfred@FreeBSD.org> | 2002-05-11 04:17:55 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-05-11 04:17:55 +0000 |
commit | c94931edf30d81eb9084c24694ba4af15517fdad (patch) | |
tree | 9297bf30ccd1af2a38e1970e4796b24b86ae5c73 /usr.sbin/pkg_install/create/pl.c | |
parent | df59877e64c2c065850c9512c642219ffc4475a3 (diff) | |
download | FreeBSD-src-c94931edf30d81eb9084c24694ba4af15517fdad.zip FreeBSD-src-c94931edf30d81eb9084c24694ba4af15517fdad.tar.gz |
replace __FUNCTION__ with standardized __func__.
Requested by: jhb
Diffstat (limited to 'usr.sbin/pkg_install/create/pl.c')
-rw-r--r-- | usr.sbin/pkg_install/create/pl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_install/create/pl.c b/usr.sbin/pkg_install/create/pl.c index 0859e1f..9970249 100644 --- a/usr.sbin/pkg_install/create/pl.c +++ b/usr.sbin/pkg_install/create/pl.c @@ -102,7 +102,7 @@ trylink(const char *from, const char *to) strcat(where_args, "|tar xpf -"); \ if (system(where_args)) { \ cleanup(0); \ - errx(2, "%s: can't invoke tar pipeline", __FUNCTION__); \ + errx(2, "%s: can't invoke tar pipeline", __func__); \ } \ memset(where_args, 0, maxargs); \ last_chdir = NULL; \ @@ -134,7 +134,7 @@ copy_plist(const char *home, Package *plist) where_args = malloc(maxargs); if (!where_args) { cleanup(0); - errx(2, "%s: can't get argument list space", __FUNCTION__); + errx(2, "%s: can't get argument list space", __func__); } memset(where_args, 0, maxargs); @@ -203,7 +203,7 @@ copy_plist(const char *home, Package *plist) } if (add_count < 0 || add_count > maxargs - where_count) { cleanup(0); - errx(2, "%s: oops, miscounted strings!", __FUNCTION__); + errx(2, "%s: oops, miscounted strings!", __func__); } where_count += add_count; } @@ -241,7 +241,7 @@ copy_plist(const char *home, Package *plist) p->name); if (add_count < 0 || add_count > maxargs - where_count) { cleanup(0); - errx(2, "%s: oops, miscounted strings!", __FUNCTION__); + errx(2, "%s: oops, miscounted strings!", __func__); } where_count += add_count; last_chdir = (mythere ? mythere : where); |