]> mj.ucw.cz Git - pciutils.git/blobdiff - lib/names-cache.c
cxl: Rename caps to be device caps
[pciutils.git] / lib / names-cache.c
index c97ea302ebe9cb6649d4834c1ad34695c3b0ed07..ba5de6d678f71d18fbb2476dced4f237d3d9b28b 100644 (file)
@@ -38,7 +38,7 @@ static char *get_cache_name(struct pci_access *a)
 
   buf = pci_malloc(a, strlen(pw->pw_dir) + strlen(name+1) + 1);
   sprintf(buf, "%s%s", pw->pw_dir, name+1);
-  pci_set_param_internal(a, "net.cache_name", buf, 0);
+  pci_set_param_internal(a, "net.cache_name", buf, 1);
   pci_mfree(buf);
   return pci_get_param(a, "net.cache_name");
 }