diff options
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 1269c81..863e533 100644 --- a/usr.sbin/pkg_install/create/pl.c +++ b/usr.sbin/pkg_install/create/pl.c @@ -87,7 +87,7 @@ trylink(const char *from, const char *to) strcat(where_args, "|tar xpf -"); \ if (system(where_args)) { \ cleanup(0); \ - errx(2, "can't invoke tar pipeline"); \ + errx(2, __FUNCTION__ ": can't invoke tar pipeline"); \ } \ memset(where_args, 0, maxargs); \ last_chdir = NULL; \ @@ -116,7 +116,7 @@ copy_plist(char *home, Package *plist) where_args = malloc(maxargs); if (!where_args) { cleanup(0); - errx(2, "can't get argument list space"); + errx(2, __FUNCTION__ ": can't get argument list space"); } memset(where_args, 0, maxargs); @@ -179,7 +179,7 @@ copy_plist(char *home, Package *plist) } if (add_count > maxargs - where_count) { cleanup(0); - errx(2, "oops, miscounted strings!"); + errx(2, __FUNCTION__ ": oops, miscounted strings!"); } where_count += add_count; } @@ -215,7 +215,7 @@ copy_plist(char *home, Package *plist) p->name); if (add_count > maxargs - where_count) { cleanup(0); - errx(2, "oops, miscounted strings!"); + errx(2, __FUNCTION__ ": oops, miscounted strings!"); } where_count += add_count; last_chdir = (mythere ? mythere : where); |