Explorar el Código

libdpkg: Use TRIGGERSFILEFILE instead of a literal string

Guillem Jover hace 14 años
padre
commit
91f647d666
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/dpkg/triglib.c

+ 1 - 1
lib/dpkg/triglib.c

@@ -726,7 +726,7 @@ trig_incorporate(enum modstatdb_rw cstatus)
 	triggersdir = dpkg_db_get_path(TRIGGERSDIR);
 	triggersdir = dpkg_db_get_path(TRIGGERSDIR);
 
 
 	free(triggersfilefile);
 	free(triggersfilefile);
-	triggersfilefile = trig_get_filename(triggersdir, "File");
+	triggersfilefile = trig_get_filename(triggersdir, TRIGGERSFILEFILE);
 
 
 	trigdef_set_methods(&tdm_incorp);
 	trigdef_set_methods(&tdm_incorp);
 	trig_file_interests_ensure();
 	trig_file_interests_ensure();