Sfoglia il codice sorgente

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 14 anni fa
parent
commit
315d710ab4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 (errno != ENOENT)
       ohshite(_("unable to open files list file for package `%.250s'"),
-              pkg_name(pkg, pnaw_foreign));
+              pkg_name(pkg, pnaw_nonambig));
     onerr_abort--;
     if (pkg->status != stat_configfiles) {
       if (saidread == 1) putc('\n',stderr);