Kaynağa Gözat

dpkg: Pass struct pkginfo instead of the package name to log_action

Thinko from commit 85b9b00518419b23c209bb6567566b99f004241f.
Guillem Jover 16 yıl önce
ebeveyn
işleme
9465dc2216
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/processarc.c

+ 1 - 1
src/processarc.c

@@ -1040,7 +1040,7 @@ void process_archive(const char *filename) {
 
     printf(_("(Noting disappearance of %s, which has been completely replaced.)\n"),
            otherpkg->name);
-    log_action("disappear", otherpkg->name);
+    log_action("disappear", otherpkg);
     debug(dbg_general, "process_archive disappearing %s",otherpkg->name);
     /* No, we're disappearing it.  This is the wrong time to go and
      * run maintainer scripts and things, as we can't back out.  But