Explorar el Código

dpkg: Use pnaw_nonambig instead of pnaw_foreign on .list file open error

Regression introduced in commit 0b8652b226a7601dfd71471797d15168a7337242.

Spotted-by: Raphaël Hertzog <hertzog@debian.org>
Guillem Jover hace 14 años
padre
commit
315d710ab4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/filesdb.c

+ 1 - 1
src/filesdb.c

@@ -307,7 +307,7 @@ ensure_packagefiles_available(struct pkginfo *pkg)
   if (fd==-1) {
   if (fd==-1) {
     if (errno != ENOENT)
     if (errno != ENOENT)
       ohshite(_("unable to open files list file for package `%.250s'"),
       ohshite(_("unable to open files list file for package `%.250s'"),
-              pkg_name(pkg, pnaw_foreign));
+              pkg_name(pkg, pnaw_nonambig));
     onerr_abort--;
     onerr_abort--;
     if (pkg->status != stat_configfiles) {
     if (pkg->status != stat_configfiles) {
       if (saidread == 1) putc('\n',stderr);
       if (saidread == 1) putc('\n',stderr);