From: Martin Mares Date: Tue, 12 Feb 2008 08:38:14 +0000 (+0100) Subject: Renamed `net.cache_path' to `net.cache_name', it's more logical. X-Git-Tag: v3.0.0~1^2~44 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=159b4709e023540be2f8b0fa9f304d4bbcad039c;p=pciutils.git Renamed `net.cache_path' to `net.cache_name', it's more logical. --- diff --git a/lib/init.c b/lib/init.c index 45c7590..737112e 100644 --- a/lib/init.c +++ b/lib/init.c @@ -69,7 +69,7 @@ pci_alloc(void) pci_set_name_list_path(a, PCI_PATH_IDS_DIR "/" PCI_IDS, 0); #ifdef PCI_USE_DNS pci_define_param(a, "net.domain", PCI_ID_DOMAIN, "DNS domain used for resolving of ID's"); - pci_define_param(a, "net.cache_path", "~/.pciids-cache", "Name of the ID cache file"); + pci_define_param(a, "net.cache_name", "~/.pciids-cache", "Name of the ID cache file"); a->id_lookup_mode = PCI_LOOKUP_CACHE; #endif for(i=0; ipw_dir) + strlen(name+1) + 1); sprintf(buf, "%s%s", pw->pw_dir, name+1); - pci_set_param_internal(a, "net.cache_path", buf, 0); + pci_set_param_internal(a, "net.cache_name", buf, 0); return buf; }